Create a file test1 in your present working directory and set its access privileges to read and write for yourself, read for the users in your group, and none to everyone else. What command line did you use to set privileges? Give another command line that would accomplish the same.

What will be an ideal response?


The following command can be used to accomplish the above task.
chmod 640 test1
The following commands (in this order) can be used to perform the same task.
chmod a-rwx test1
chmod u+rw,g+r,o-rwx test1

Computer Science & Information Technology

You might also like to view...

When the computer processes the assignment statement, it first performs the calculation that appears on the leftt side of the assignment operator.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Add a method getName(String phoneNumber) to the PhoneBook class.

What will be an ideal response?

Computer Science & Information Technology

A table needs a(n) ________ to communicate its purpose

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following finds potential issues for users with disabilities so that you can resolve the issues and make your file easier to use?

A) Compatibility Mode B) Compatibility Checker C) Document Inspector D) Accessibility Checker

Computer Science & Information Technology