Which of the following should the administrator do to restore default permissions for newly created directories?

Ann, a user, has created a new directory and noticed that permissions on the new directory are as follows:

drwx——. 1 ann ann 0 Jun 11 08:20 work

Which of the following should the administrator do to restore default permissions for newly created directories?
A . Change umask value in /etc/profile.
B. Run chmod command to update permissions.
C. Modify directory ownership to ann:ann with chown.
D. Execute chattr command to restore default access.

Answer: A

Explanation:

Reference: https://geek-university.com/linux/set-the-default-permissions-for-newly-created-files/

Latest XK0-004 Dumps Valid Version with 267 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments