Unix File Permission & Access Modes MCQs

This section focuses on "File Permission And Access Modes" in unix. These Multiple Choice Questions (MCQ) should be practiced to improve the unix skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. The basic building blocks of Unix permissions are ____________.

A. read
B. write
C. execute
D. All of the above

View Answer

2. How many types of permissions a file has in UNIX?

A. 2
B. 3
C. 4
D. 5

View Answer

3. What is group ownership?

A. group of users who can access the file
B. group of users who can create the file
C. group of users who can edit the file
D. group of users who can delete the file

View Answer

4. Which of the following is default permission set for ordinary files?

A. rw-rw-rw-
B. rwxrwxrwx
C. r-r-r-
D. rw-rw-rwx

View Answer

5. Which command is used to change the owner of a file?

A. cowner
B. cgown
C. chown
D. chowner

View Answer

6. What is full form of SUID in File Permission?

A. Select User ID
B. Set User ID
C. Select Unique ID
D. Set Unique ID

View Answer

7. Which of the following symbol is used with chmod to assign permission to a file?

A. -
B. +
C. =
D. *

View Answer

8. Like chmod, chown and chgrp can also use ___ option.

A. -R
B. -r
C. -x
D. -i

View Answer

9. Which number is assign to read permission in Octal Permission Representation?

A. 0
B. 1
C. 2
D. 4

View Answer

10. Which file access mode grants the capability to modify, or remove the content of the file?

A. Read
B. Write
C. Execute
D. All of the above

View Answer


* You must be logged in to add comment.