单选题How can permissions be set up on /tmp so that one user in a group cannot delete another user’s files in that same group()A chmod +s /tmpB chmod 755 /tmpC chmod 1777 /tmpD chmod 4755 /tmp

题目
单选题
How can permissions be set up on /tmp so that one user in a group cannot delete another user’s files in that same group()
A

chmod +s /tmp

B

chmod 755 /tmp

C

chmod 1777 /tmp

D

chmod 4755 /tmp

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which command will configure a directory /commonfiles so that a user cannot delete files owned by other users in the same group?()

A.chmod +S /commonfiles

B.chmod 4775 /commonfiles

C.chmod 1777 /commonfiles

D.chmod -orgx /commonfiles


参考答案:C

第2题:

Howcanpermissionsbesetupon/tmpsothatoneuserinagroupcannotdeleteanotheruser’sfilesinthatsamegroup()

A.chmod+s/tmp

B.chmod755/tmp

C.chmod1777/tmp

D.chmod4755/tmp


参考答案:C

第3题:

使每个用户都可以读取和写入a.txt,相应命令为:()

A.chmod666a.txt

B.chmod777a.txt

C.chmod755a.txt

D.chmod555a.txt


参考答案:A

第4题:

为了修改文件test的许可模式,使其文件属主具有读、写和运行的权限,组和其他用户可以读和运行,可以采用的方法( )。

A、chmod 755 test

B、chmod 700 test

C、chmod ux+rwx test

D、chmod g-w test


参考答案:A

第5题:

An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

A. chmod -R u+rw /application

B. chmod -r u+rw /application

C. chmod -R o+rw /application

D. chmod -r o+rw /application


参考答案:C

第6题:

Howcanpermissionsbesetupon/tmpsothatausercannotdeleteanotheruser’sfiles?()

A.chmod+s/tmp

B.chmod775/tmp

C.chmod1777/tmp

D.chmod4755/tmp


参考答案:C

第7题:

The system administrator has requested that all setuid/setgid bits be removed from executables in application filesystem. Which command will achieve this?()

A. chmod -R o-s /application

B. chmod -R ug-s /application

C. chmod -R -s -o /application

D. chmod -R -s -ug /application


参考答案:B

第8题:

Whichofthefollowingcommandsmakes/bin/fooexecutablebyeveryonebutwritableonlybyitsowner?()

A.chmod557/bin/foo

B.chmodo+rwx.a+rx/bin/foo

C.chown557/bin/foo

D.chmod755/bin/foo


参考答案:D

第9题:

Howshouldread,writeandexecutepermissionsfor‘group’and‘other’begrantedtoallfilesanddirectorieswithinthe/appfilesystem?()

A.chmod-R677/app

B.chmod-R664/app

C.chmod-r677/app

D.chmod-r664/app


参考答案:A

第10题:

下面()命令可以改变test目录中所有文件的权限。

  • A、$chmod–a755 test
  • B、$chmod–R755 test
  • C、$chmod–X755 test
  • D、chmod–o755test

正确答案:B

更多相关问题