McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2024
→
Computer Science Engineering (CSE)
→
Operating System Architecture
→
If the umask value is 0002. what will be...
Q.
If the umask value is 0002. what will be the permissions of new directory
A.
777
B.
775
C.
774
D.
664
Answer» B. 775
1.8k
2
Do you find this helpful?
1
View all MCQs in
Operating System Architecture
Discussion
sho sho 12
8 months ago
If the umask value is 0002,what will be the permissions of new directory?
0
sho sho 12
8 months ago
If the umask value is 0002,what will be the permissions of new directory?
0
Login to comment
Related MCQs
Given a code snippet below? #define PERMS (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) int main() { int fd1, fd2; umask(0); fd1 = open(“file1”, O_CREAT | O_RDWR, PERMS) umask(S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); fd2 = open(“file2”, O_CREAT | O_RDWR, PERMS) return 0; } The newly created files file1 and file2 will have the permissions respectively
If a file has read and write permissions for the owner, then the octal representation of the permissions will be
Which of the following umask settings doesn’t allow execute permission to be set by default on directory files
What is the command to set the execute permissions to all the files and subdirectories within the directory /home/user1/direct
With a umask value of 112, what is the default permission assigned to newly created regular file?
Which command is used to copy a file wb with the same name from the programs directory to the misc directory?
Which command is used to move all files to the bin sub-directory of the parent directory?
Which of the following umask settings allow execute permission to be set by default on regular files
The second set of the three permissions (r-) indicates that
Which column contains all details of the permissions of a file when you issue the ls - l command?