nerdexam
Oracle

1Z0-460 · Question #1

Examine the following commands: # groupadd project # mkdir /usr/share/project # chown -r root.project /usr/share/project # qpasswd -a scott project # qpasswd -a foo project # chmod 2775…

The correct answer is A. Any new file created in the /usr/share/project folder by user scott will not be possible for foo to. *A permission of "2755" for a directory means that everyone has read and execute permission, while the file owner and members of the file's group additionally have write permission. And any files or subdirectories created in that directory will inherit the parent directory's…

Deployment and Troubleshooting

Question

Examine the following commands:

groupadd project # mkdir /usr/share/project # chown -r root.project /usr/share/project # qpasswd -a scott project # qpasswd -a foo project # chmod 2775 /usr/share/project Based on the commands, which statement is correct?

Options

  • AAny new file created in the /usr/share/project folder by user scott will not be possible for foo to
  • BAll members of the project group need the administrator's help to change the file permission every
  • CFiles created by all members of the project group in the /usr/share/project folder will get the same
  • DThe chmod command can only take a tree-digit argument.

How the community answered

(36 responses)
  • A
    86% (31)
  • B
    6% (2)
  • C
    3% (1)
  • D
    6% (2)

Explanation

*A permission of "2755" for a directory means that everyone has read and execute permission, while the file owner and members of the file's group additionally have write permission. And any files or subdirectories created in that directory will inherit the parent directory's group id. Not D: chmod 2775 is a valid command.

Topics

#file permissions#setgid bit#group membership#chmod

Community Discussion

No community discussion yet for this question.

Full 1Z0-460 Practice