Search This Blog

Sunday 25 April 2010

Ubuntu: Permissions of Folders and Files

To change the folder and all folders beneath it, use the -R flag

Code:

sudo chown -R /folders/files

Will change the ownership of /folders/files to the user
Code:

sudo chmod -R 777 /folders/files

Will change the modes of access (permissions) of /folders/files to read/write/execute for everyone.