Linux Directory Permission Commands | Shahul Hameed
Linux commands
chmod => change mode
RWX
R = Read => 4
W = Write => 2
X = Execute => 1
Three types of groups
User
Group
Other
I give the owner(User) permission to all access file or directory
drwx------
In linux command
#chmod 700 filename.txt
I give members of the group(Group) to access only read and execute
drwxr-x---
In Linux command
#chmod 750 filename.txt
I give the public access(Other) only read
drwxr-xr---
In linux command
#chmod 754 filename.txt
Comments
Post a Comment