What are the permission of file01 after executing this command? [code] chmod 777 file01[/code]

What are the permission of file01 after executing this command?
Code:
   chmod  777  file01
A. rwxrwxrwx
B. rw-rw-rw
C. r–r–r–
D. r–r—-
 
Answer: a
Explanation: Since the octal number for the above command is 777 and we know that 7(111) represents all the three sets of permissions (read, write and execute) for a category of user. As we have 777, the file is readable, writable and executable by anyone.
 

Tìm kiếm

Back
Top