Is there any way to apply appropriate permissions recursively? Can it be done with chmod?
May 3, 2004 12:42 PM
Subscribe
I backed up my /library/webserver/documents folder to a firewire HD. When I dragged it back, the permissions went all kablooey:
drwxr-xr-x 36 root admin 1224 16 Jan 16:58 Documents
sudo chmod 755 Documents does not give groups write privileges.
1. Do I just need to go read a good chmod tutorial, or is something aberrant happening here?
2. Is there any way to apply appropriate permissions recursively?
Many thanks.
More info: permissions on user accounts are goofy too, so that users can't upload to their (OS X) sites directories or sub directories, and I am trying to avoid having to manually reset them all.
posted by mecran01 to computers & internet (8 comments total)
If you want to recursively apply permissions, use the -R flag.
chmod -R 755
chown works with the same flag: chown -R user:group
posted by n9 at 12:53 PM on May 3, 2004