Please forgive the OT nature, but I just know you will be able to help.

I upgraded an old Mac I use as a server from 10.1 to 10.2.

After the upgrade, the webserver Documents folder had all the wrong permissions. I had to log in via the terminal and CHMOD various things. All is working well now, but not for *new* files.

Every new file I upload has the permissions "-rw-r-----" although the enclosing folder itself is "drwxr-xr-x". I'm a bit confused about this, and the more I read about UMASK the more confused I get.

Short version of question: how do I set the default permissions, permanently, recursively, for all new files uploaded to /Library/WebServer/Document/ ?

Other questions:

If I do a "rebuild permissions", will it fix this? Will it over-ride various folders which are world-writable so I have to go back and CHMOD again? Can I run "rebuild permissions" in Terminal or only from the GUI?

And finally, if anyone's really annoyed by this being OT, where should I go to ask for this kind of help in future?
------------------------------------------------------------
"Have You Validated Your Code?"
John Horner (+612 / 02) 9333 2110
Senior Developer, ABC Online http://www.abc.net.au/
------------------------------------------------------------




Reply via email to