Linux Permission Q&A

w3hackers

New Member
Joined
Jun 7, 2022
Messages
1
Reaction score
0
Credits
13
Suppose you have write permissions for a file named kali.txt and now you want to change the permissions for each type of user in symbolic mode such that owner and group-users have read and write access and others have only read permission. Which among the following commands will you use to do so?

1) chmod 661 kali.txt
2) chmod u=rw,g=rw,o=r kali.txt
3) chmod u=rwx,g=rw,o=r kali.txt
4) None of the above
 



Members online


Latest posts

Top