MacOS – OSX 10.7 Apache can’t do file uploads to local server

apachemacospermission

I have Apache running on another machine on the local network but am unable to do certain things that I can on the live server – namely perform file uploads.

WordPress tells me this may be because Apache doesn't have permissions to write to the website directories – does anyone know how to fix this?

The website folder is shared on the network also so I can't really go around chmoding it incase I break access for someone else.

Any help appreciated

Best Answer

You are having a directory permissions issue. You should ensure that the folder you are uploading to allows read/write/execute access for the web user (typically _www).

In practice, this means you should change the owner and/or group of the folder, or allow read/write/execute for all:

chmod 777 /path/to/uploads