Answers for "file permissions in linux"

8

debian give write permission

sudo chmod -R 757 /var/www
Posted by: Guest on May-30-2020
11

how to change permissions on a file in linux

sudo chmod -R ugo+rwx /file/path
Posted by: Guest on May-08-2020
0

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
Posted by: Guest on October-30-2021

Code answers related to "file permissions in linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language