Answered step by step
Verified Expert Solution
Question
1 Approved Answer
While reading about file system permissions in Linux, you discover that the default permissions assigned to new files when they are created are r w
While reading about file system permissions in Linux, you discover that the default permissions assigned to new files when they are created are octal and new directories are octal
However, when you create a new file in a directory calleddata the permissions assigned are
Which of the following BEST explains the results you are seeing?
There are more restrictive permissions assigned to the data directory, and any new files created inside that directory will inherit the more restrictive permissions
You are logged in as the root user, and all files created by the root user are assigned these permissions. Only normal users get octal permissions on newly created files
The umask must be set to and, therefore, block the write permission for the group owner and everyone else
Because you are logged in as a normal user and not the root user, all files that you create will be created with a more restrictive set of permissions.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started