单选题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 /applicationB chmod -r u+rw /applicationC chmod -R o+rw /a

题目
单选题
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

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

第1题:

Asystemadministratorwantstogivefullread/write/excuteaccesstotheownerandgroupofthe/stuffdirectoryandallsubdirectoriesandfiles,butonlyallowread/executeforothers.Whatcommandwouldtheadministratoruse?()

A.chmod-R775/stuff

B.chmod-h002/stuff

C.chmod-R577/stuff

D.chmodug+rwx,o+rx/stuff


参考答案:A

第2题:

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

第3题:

如何将shell脚本exam.sh设置为所以用户都能执行( )。

A.chmod a+x exam.sh

B.chmod a+w exam.sh

C.chmod a+r exam.sh

D.chmod u+x exam.sh


参考答案:A

第4题:

在linux中,文件exer1的访问权限为rw-r--r--,现要增加所有用户的执行权限和同组用户的写权限,下列命令正确的是()

  • A、chmod?a+x,?g+w?exer1
  • B、chmod?775?exer1
  • C、chmod?765exer1
  • D、chmod?g?w?exer1

正确答案:A,B

第5题:

Linux系统在默认情况下将创建的普通文件的权限设置为( ),若要将/test文件的权限设置为所有用户都具有读写执行的权限,则正确的命令是(请作答此空)。

A.chmod-rw-r--r--/test
B.chmod test-r--r--r--
C.chmod-777/test
D.chmod-111/test

答案:C
解析:
普通文件是不可执行的,自然不会有x权限。此外,文件拥有人缺省是具备读写权限的,而其他人只具备读权限。

第6题:

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

第7题:

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

A.chmod-R677/app

B.chmod-R664/app

C.chmod-r677/app

D.chmod-r664/app


参考答案:A

第8题:

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

第9题:

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

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

正确答案:B

第10题:

在UNIX中,可用ls命令察看文件属性,一个文件file1的属性为“RW_R_ _ R _ _”,如果对文件赋予本用户读写执行权限,组内用户和其它用户读写权限,则使用()命令。

  • A、chmod g+rw,o+r file1
  • B、chmod 755 file1
  • C、chmod g+rwx file1
  • D、chmod 775 file1

正确答案:B

更多相关问题