Computer Science - Unix - Discussion

Discussion :: Unix - Section 2 (Q.No.17)

17. 

The chmod ugo+rw note command can be represented in octal notation as

[A]. chmod 555 note
[B]. chmod 666 note
[C]. chmod 444 note
[D]. chmod 333 note
[E]. None of the above

Answer: Option B

Explanation:

No answer description available for this question.

Egin said: (May 28, 2013)  
Please see below:

Users Groups Others
rwx rwx rwx
421 421 421

Therefore the octal notation of the command chmod ugo+rw is,
chmod 666

Since if you get the total of 421.

Where

4 - write permission.
2 - read permission.
1 - execute permission.

4+2 = 6 (rw).

Amol Pawar said: (Apr 2, 2016)  
Please give me more details about this question because I am the end user.

How to select a read = 4, write = 2 & x = 1.

Sayak said: (Dec 24, 2016)  
rwx rwx rwx
100 010 001 (Binary)
4 2 1

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.