Terminal command to change permissions to my 'Sites' folder and apply change to enclosed items?

Posted by Ryan on Super User See other posts from Super User or by Ryan
Published on 2011-01-05T16:12:13Z Indexed on 2011/01/05 16:56 UTC
Read the original article Hit count: 229

Using Snow Leopard, I'm having issues with permissions in my Sites folder. While I can navigate to localhost/~username and read any files or folders there, the same permissions have not been applied to enclosed items, and I get a 403 error trying to access them in the browser.

If I select one of these enclosed folders and get info using Finder, I see the user 'Everyone' is set to 'No Access' but I can't change that (this behavior seems buggy, actually).

And if I select my 'Sites' folder, the tool to 'Apply to enclosed items' is grayed out...

Is there a Terminal command I can use to grant 'Read Only' access to my Sites folder, and all it contains, for the user 'Everyone'?

© Super User or respective owner

Related posts about osx-snow-leopard

Related posts about permissions