CSE MCQs :: Linux MCQs
- If user tries to remove (rm) a readonly file (444 permission), what will happen?
- A user does a chmod operation on a file. Which of the following is true?
- If the umask value is 0002. what will be the permissions of new directory
- Which command is used to assign read-write permission to the owner?
-
Given the command$ chmod o-w datafile
A.
The file is removed successfully (and silently)
|
B.
The rm command prompts for a confirmation, the command is successful upon confirmation
|
C.
The rm command prompts for a confirmation, however the operation fails because of insufficient permissions
|
D.
The rm command fails because of insufficient permissions
|