Akbar wrote:
Thank you André, that was pretty gentle. I'll give that information in the future.It's Apache 1.3 that comes with Mac OS X Tiger.I'm not sure how to find out which user started the Apache server. I have a guess that it's the admin account on my computer.In the httpd.conf file, there is an example <Directory><> section that notes that the directory is set up as read only. I haven't seen in any of the Apache docs how to set up write permissions for a folder say for a given user (me in this case). Am i barking up the wrong tree there?
Gently again, I think yes. I can't think off-hand of anything in the Apache configuration that would give read access but not write access to a directory. Except, indirectly, the User and Group directives. The permissions referred to probably mean the real permissions in the filesystem.
You need to think of it this way : your php script is run by Apache, with the same user-id and group(s) as the Apache user. It can read or write whatever this Apache user can. What you do with the Apache directives within Apache, is controlling who can call (or not) your script. But once it gets called, that's it.
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx