help CHMOD

#1
[eluser]boony[/eluser]
Hi all,

Excuse my ignorance, but I need to change some file permissions. But I don't know what the difference between this
Code:
chmod 777 application/file1.php

and this is....

Code:
chmod -R 777 application/uploads

Is the difference critical?

Regards

#2
[eluser]InsiteFX[/eluser]
Hi boony,

Code:
chmod 777 allows all read write permissions
chmod -R 777, sets permissions recursively

Hope this helps.

Enjoy
InsiteFX

P.S.
Just use chmod 777 thats what most users use.

#3
[eluser]Kepler[/eluser]
Yes, the -R means "recursively" change permissions of the directory and all it's contents, including subdirectories.

http://ss64.com/bash/chmod.html


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.