Linux File Permissions Solved MCQs

Linux File Permissions Solved MCQs

Let us see the Linux File Permissions Solved MCQs.

1. 764 File Permission means?
A) Everyone can read,write and execute.
B) Everyone can read, group can execute only and the owner can read and write.
C)Everyone can read, write and execute.
D)Every one can read, group including owner can write, owner can execute.

Answer - Click Here:
D

2.Representation of permission of rwxr-r in octal experssion is?
A) 711
B) 777
C) 666
D) 744

Answer - Click Here:
D

3.How effective user id can be set?

A) 1711
B) 0886
C) 2666
D) 4744

Answer - Click Here:
D

4.Through which permission sticky bit can be set?
A) 4744
B) 1711
C) 2666
D)0777
Answer - Click Here:
B

5.Representation of the permission of rwsr-r in octal expression is ?
A) 2666
B) 4744
C) 4644
D)0777
Answer - Click Here:
C

6. Representation of the permission of rwxr-sr in octal expression is
A)2754
B) 0777
C) 2766
D) 2744
Answer A
Answer - Click Here:
C

7. What will happen if a user removes(rm) readonly file(444 permission)?
A)Because of insufficient permissions rm command fails
B)The file is removed successfully (and silently)
C)Rm command points out the confirmation that the command is successful upon confirmation
D)Rm command point out the confirmation, however, the operation fails because of insufficient permissions
Answer - Click Here:
C

8.For applying a chmod operation on a file what will happen?
A) The file last change time is updated.
B) The file’s last accessed time is updated.
C)File last modification time is updated.
D)None of the mentioned.

Answer - Click Here:
A

9. Permission of new directory according to umask 0002 is?
A) 664
B) 777
C) 775
D) 774
Answer - Click Here:
C

10.In the directory of /home/user1/direct the command for all the files and subdirectories to execute the permission is ?
A) chmod –F +x /home/user1/direct
B) chmod –A +x /home/user1/direct
C)chmod –R +x /home/user1/direct
D) chmod –r +x /home/user1/direct

Answer - Click Here:
C

Next Operating System MCQs

Computer Science Repeated MCQs Book Download

Add a Comment