CodeIgniter Forums
help CHMOD - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: help CHMOD (/showthread.php?tid=21465)



help CHMOD - El Forum - 08-10-2009

[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


help CHMOD - El Forum - 08-10-2009

[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.


help CHMOD - El Forum - 08-10-2009

[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