CompTIA
XK0-005 · Question #148
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…
The correct answer is A. Change umask value in /etc/profile. https://geek-university.com/linux/set-the-default-permissions-for-newly-created-files/
System Management
Question
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?
Options
- AChange umask value in /etc/profile.
- BRun chmod command to update permissions.
- CModify directory ownership to ann:ann with chown.
- DExecute chattr command to restore default access.
How the community answered
(43 responses)- A91% (39)
- B5% (2)
- C2% (1)
- D2% (1)
Explanation
https://geek-university.com/linux/set-the-default-permissions-for-newly-created-files/
Topics
#umask#File Permissions#System Configuration
Community Discussion
No community discussion yet for this question.