COMPUTER SCIENCE AND ENGINEERING
UNIX
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
chmod 664 schedule.odt
|
|
chmod 555 schedule.odt
|
|
chmod 777 schedule.odt
|
|
chmod 644 schedule.odt
|
Detailed explanation-1: -Change file permissions 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.
Detailed explanation-2: -The chmod command enables you to change the permissions on a file. You must be superuser or the owner of a file or directory to change its permissions.
Detailed explanation-3: -Write permission When files have write permissions, the user can modify (edit, delete) the file and save it. For folders, write permissions enable a user to modify its contents (create, delete, and rename the files inside it), and modify the contents of files that the user has write permissions to.