1. chmod
Type
|
Access
permission
|
|||
User
|
Group
|
Other
|
||
Directory
|
d
|
rwx
|
r-x
|
r--
|
File
|
-
|
r-x
|
r-x
|
r--
|
command
|
u+(access per.)
|
g+(access per.)
|
o+(access per.)
|
Description
|
Letter
representation
|
Numerical value
|
readable
|
r
|
4
|
writable
|
w
|
2
|
executable
|
x
|
1
|
Ø chmod command+letterRepresentation filename.fileFormat >>>Ex: chmod g+w file1.txt
2. chwon
Ø chown -R userName:groupName directoryName -: to set a user from the related group as the owner of related directory
>>>Ex: chown -R daniel:admins dir1
Ø chown -R userName:groupName directoryName -: to set a user from the related group as the owner of related directory
>>>Ex: chown -R daniel:admins dir1
No comments:
Post a Comment