I am receiving the "Destination directory albums/userpics/10001/ is not writable by the script !" message when I try to upload pics from my admin account. I've loaded pics in the past and have verified my permissions.
I created a user account
username: guest
password: password
and I can upload just fine with that account. I can post the debug info if it will be helpful.
www.sully6pack.com/photo
Thanks!
Are the /albums and all subdirectory permissions the same? If not, they should all be set to 777 (or 755, or whatever works on your server.) If your new user's subdirectory works, then I would imagine all subdirectories should be set the same as that one.
Albums and Userpics folders are at 777. 10001 folder is at 755 and 10002 folder (the user folder) is also at 755. Seems odd that one works and other doesn't.
Check the ownership of the folders.
I'm not sure what you mean by "ownership" of the folders.
When I list the directory info, here is what I get:
drwxrwxrwx 5 32903 sully6 4096 Feb 25 22:21 .
drwxrwxrwx 5 32903 sully6 4096 Dec 27 06:55 ..
drwxr-xr-x 2 99 99 4096 Dec 23 14:55 10001
drwxr-xr-x 2 32903 sully6 4096 Feb 25 22:21 10002
drwxrwxrwx 2 32903 sully6 4096 Dec 27 06:55 _vti_cnf
-rwxrwxrwx 1 32903 sully6 0 Aug 13 2005 index.html
The notable difference is "99" vs "sully6". sully6 is my user id. I have no clue what 99 is.
By the way... thanks for responding. I truly appreciate the fact that you're even taking time to try to help me with this.
I renamed the 10001 directory and then created a new one with the same name. Then I copied all the files over. Problem solved. Thanks.
I think 99 means nobody. But the main point is that if it's not your userid, your user does not have full access rights to the folder or file so that's why the script couldn't "write" to it.