MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Your Linux system’s umask variable is currently set to a value of 077. A user named jcarr (who is a member of the users group) creates a file named mythoughts.odt. What can users who are members of the users group do with this file?
A
They can view the file, but they can’t modify or save it.
B
They can open, modify, and save the file.
C
They can open, modify, and save the file. They can also execute the file if it is an executable.
D
They have no access to the file at all.
Explanation: 

Detailed explanation-1: -umask 077. allow read, write, and execute permission for the file’s owner, but prohibit read, write, and execute permission for everyone else.

Detailed explanation-2: -umask 077 means that other users may not access your files at all. (This is the default.)

Detailed explanation-3: -The system default permission values are 777 ( rwxrwxrwx ) for folders and 666 ( rw-rw-rw-) for files.

Detailed explanation-4: -Execute permission allows the user to enter the directory and access any subdirectories.

There is 1 question to complete.