Forum Moderators: phranque

Message Too Old, No Replies

Permission Commands Reference

Running Apache on OSX

         

monolift

3:47 pm on Sep 21, 2005 (gmt 0)

10+ Year Member



I'm running Apache on OSX to test web projects locally, but I'm pretty new to all of this. I'm getting errors because permissions are not right on subdirectories. Is there a commmand reference out there? Can some one tell me how to set permissions to an entire directory and subdirectories at once?

dcrombie

9:06 am on Sep 22, 2005 (gmt 0)



The commands you want are 'chmod' and 'chgrp'. If you type 'man chmod' into Terminal then you'll get a help page.

Some examples:

chmod -R g+w . 
chgrp -R www .

(recursively change permissions starting from the current directory)