单项选择题
How can permissions be set up on /tmp so that a user cannot delete another user’s files?()
A.chmod +s /tmp
B.chmod 775 /tmp
C.chmod 1777 /tmp
D.chmod 4755 /tmp
相关考题
-
单项选择题
While installing an application, the administrator is instructed to perform two final tasks prior to starting the application: 1.Set the ownership of a file named ’control_file’ to be owned by the user ’database’ and the group ’appsrvr’. 2.Change the permissions of ’control_file’ to 0766. After these two tasks have been completed, what will the file permissions look like when ’ls -l control_file’ is executed?()
A.-rwxrw-rw- 1 database appsrvr 4913 Mar 17 08:24 control_file
B.-rw-r--r-- 1 appsrvr database 4913 Mar 17 08:24 control_file
C.-rw-r--r-- 1 database appsrvr 4913 Mar 17 08:24 control_file
D.-rwxrw-rw- 1 appsrvr database 4913 Mar 17 08:24 control_file -
单项选择题
Asystemadministratorwantstogivefullread/write/excuteaccesstotheownerandgroupofthe/stuffdirectoryandallsubdirectoriesandfiles,butonlyallowread/executeforothers.Whatcommandwouldtheadministratoruse?()
A.chmod -R 775 /stuff
B.chmod -h 002 /stuff
C.chmod -R 577 /stuff
D.chmod ug+rwx,o+rx /stuff -
单项选择题
A user reports that they cannot cd to /tmp/application. A system administrator entered the following command: (1)ls -ld /tmp/application (2)drw-r--r-- 4 root system 512 Jan 15 14:09 application What is the most likely cause of the problem?()
A.The /tmp/application should be globally writable.
B.The /tmp/application directory should be executable.
C.The /tmp/application directory should be owned by the user.
D.The /tmp/application directory should have the sticky bit set.
