I have a classifieds website with a picture script for uploading pics onto the ads.
The pics are uploaded to the "images" dir.
The php code which does this requires write access to the directory I am guessing...
So, what permissions would you set to the php upload file, and the images directory?
I am thinking like this:
drwxr-xr-x
Safe/good or not?
Thanks
ALSO, another short Q: Should I have my websites files owned by the username I have, or should I keep them owned by root?