Computer Science - Unix - Discussion

Discussion Forum : Unix - Section 2 (Q.No. 20)
20.
Which of the following commands is used to assign executable permission to the owner of the file named "note"?
chmod g+x note
chmod u+w note
chmod u+x note
chmod ugo+x note
None of the above
Answer: Option
Explanation:
Users selection:

u - user: the owner of the file.
g - group: users who are members of the file's group.
o - others: users who are not the owner of the file or members of the group.
a - all: all three of the above, is the same as ugo.

Permissions:

r - read
w - write
x - execute

So, u+x => Execute (x) permission to Owner (u).
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.