Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

permission in linux

chmod u=rwx,g=rw,o=rx myfile.txt
Now view the result:
ls -l myfile.txt
-rwxrw-r-x 1 user group 9482 Jan 16 16:29 myfile.txt 
//where frist character represent wheather it is directory or file 
//  'd' for directory and '-' file 
Source by www.howtogeek.com #
 
PREVIOUS NEXT
Tagged: #permission #linux
ADD COMMENT
Topic
Name
3+5 =