CompTIA
XK0-004 · 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
(21 responses)- A76% (16)
- B14% (3)
- C5% (1)
- D5% (1)
Explanation
https://geek-university.com/linux/set-the-default-permissions-for-newly-created-files/
Topics
#umask#default permissions#/etc/profile#directory creation
Community Discussion
No community discussion yet for this question.