Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer the follwoing questions in 2-4 sentences: With three different per

ID: 3749272 • Letter: P

Question

Please answer the follwoing questions in 2-4 sentences:

With three different permissions (read, write, and execute) and three different categories of user (owner, group, and world), how many different combinations of permissions exist that may be applied to a file or directory? Why?

Is there a permission on a directory that allows me to create a file in that directory but not see the existence of that file? If so, provide the necessary commands to create and set the permissions on the directory. If not, explain why not.

Can I delete a file even though I can’t see its contents or modify the contents of the file? If so, provide a sequence of commands to exhibit this behavior. Be sure to show the commands that demonstrate you get an error if you try to see the contents of the file or change the contents of the file. If not, explain why not.


Explanation / Answer

Answer)

The different type of combinations are as follows:

For Owner: Read, write and executable

For Group: It can be read-only or read and write or read and write and execute

For World: It can be only read-only (Recommended)

Yes, one can create a file in a directory and also hide it in the directory. The command is as follows:

ls -a to hide the file in the directory. (For Linux)

There is a similar kind of way to hide the files in windows too.

This can be done with write command granted to the user.

To modify and locate and delete the files which are hidden one can perform the below steps:

(In Windows)

1) Move to the control panel.

2) Type as "Folder" in the search bar and select the "Hidden file and folder"

3) Click the view tab and navigate to the advanced setting and locate the "Hidden files and folders"

The hidden files and folders will be displayed after which modification and deletion are possible.

Hit like if you find the answer useful. :)

Hope this answer helps. Thanks