coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: muddharrys on September 04, 2006, 07:55:13 PM

Title: albums/userpics/xxxxx is not writable
Post by: muddharrys on September 04, 2006, 07:55:13 PM
Directory 'albums/userpics/10221/' is not writable, files can't be deleted

Any advice on the above error? It happens when a user attempts to delete their own photos.

The userpics is 777 and the owner of 10221 has full rights.

Thanks!
Title: Re: albums/userpics/xxxxx is not writable
Post by: Joachim Müller on September 04, 2006, 08:18:08 PM
Well, apparently the permissions aren't suffiecient, hence the error message. How did you find out that the permissions are 777 - do you have shell access? If not, re-apply them! Don't trust the permissions status your FTP app displays.
Title: Re: albums/userpics/xxxxx is not writable
Post by: muddharrys on September 05, 2006, 04:34:02 PM
Thanks for the reply,

Here are albums/userpics permissions: drwxrwxrwx

Here are the albums/userpics/xxxxx permissions: drwxr-xr-x

What should the permissions be to upload and delete? It was working just fine and then this just up and started.

Thanks!
Title: Re: albums/userpics/xxxxx is not writable
Post by: Joachim Müller on September 05, 2006, 07:03:10 PM
Well, it doesn't matter if you're saying your permissions are drwxrwxrwx or 777. I asked how you found out about them. Please review the docs on setting permissions, there's a lengthy section about it. I can't tell you what the permissions need to be set to on your server, as this differs depending on server setup. You'll have to ask your webhost when in doubt.
Title: Re: albums/userpics/xxxxx is not writable
Post by: muddharrys on September 05, 2006, 07:27:35 PM
Quote from: GauGau on September 05, 2006, 07:03:10 PM
Well, it doesn't matter if you're saying your permissions are drwxrwxrwx or 777. I asked how you found out about them. Please review the docs on setting permissions, there's a lengthy section about it. I can't tell you what the permissions need to be set to on your server, as this differs depending on server setup. You'll have to ask your webhost when in doubt.

I understand what you are saying, I didn't clarify, these were determined via Shell Access. I set all permissions as required during the installation according to the install doc - what I can not find is what permissions are needed by the user specifically in the folder, that is why I posted what they are displaying in from the shell... does it look right or wrong for the folders I listed?
Title: Re: albums/userpics/xxxxx is not writable
Post by: Nibbler on September 05, 2006, 08:11:26 PM
As suggested, it depends on server setup. 755 is fine for some setups but not for others. Try 777.