COMPUTER SCIENCE AND ENGINEERING
UNIX
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
True
|
|
False
|
|
Either A or B
|
|
None of the above
|
Detailed explanation-1: -If a file is read protected, we can write to the file. Explanation: If a file is not readable then it is obvious that we cannot write anything to the file. To write anything to a file it should be readable first. But if a file is writable then we can read the file easily but the reverse is not true.
Detailed explanation-2: -The Write Attributes permission does not imply creating or deleting files or folders, it only includes the permission to make changes to the attributes of a file or folder.
Detailed explanation-3: -write (w) Write permission implies the ability to change the contents of the file (for a file) or create new files in the directory (for a directory). execute (x) Execute permission on files means the right to execute them, if they are programs.
Detailed explanation-4: -To change file and directory permissions, use the command chmod (change mode). The owner of a file can change the permissions for user ( u ), group ( g ), or others ( o ) by adding ( + ) or subtracting (-) the read, write, and execute permissions.