forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: sirus on May 13, 2005, 07:37:40 pm

Title: Impossible to move
Post by: sirus on May 13, 2005, 07:37:40 pm
I am a new user with little experinece - I hope this is not too much for me - I am getting this error. I checked the permissions to the foler and it said 777 - help please

Thanks


Warning: move_uploaded_file(./albums/edit/mHTTP_temp_7c34a4f3.jpg): failed to open stream: Permission denied in /home/rmistake/public_html/pictures/upload.php on line 1197

Warning: move_uploaded_file(): Unable to move '/tmp/phpLsJUCy' to './albums/edit/mHTTP_temp_7c34a4f3.jpg' in /home/rmistake/public_html/pictures/upload.php on line 1197

File Name/URL Error Message
1. bling3_thumb.jpg Impossible to move.
Title: Re: Impossible to move
Post by: OmegaGOD on May 13, 2005, 09:56:53 pm
I know you mentioned that you checked the permissions. Ensure that the ./album and ./album/edit folders are both writeable by the webserver. IE CHMOD 777.
Title: Re: Impossible to move
Post by: soulnice on May 22, 2005, 07:41:55 am
I got same problem too.  I have setup the software and run correctly in Windows 200 but move the whole gallery to Fedora Core3 recently.  The album displayed normally but all upload function can't work properly.  ./albums/edit , ./albums and all sub-directories under ./albums are set to 777 and own by the systenm account apache already. The file upload function reply "Impossible to move." and all directories show "Not writable." at the  batch upload function. Why?
Title: Re: Impossible to move
Post by: Joachim Müller on May 23, 2005, 09:44:33 am
Not sure, this depends on your webserver setup. Try chmoding to 755 instead of 777. Make sure you actually have the permissions to chmod, don't trust what your ftp client shows you.
Title: Re: Impossible to move
Post by: soulnice on May 23, 2005, 05:28:55 pm
ooops, I tried chmod to 755 and 777 again and again.  I checked by ls with option -al and also verified the permission by the GUI and found ok.  I sure I have right to chmod as I login as root already.  This problem is also happened when I try to installing XOOPS. The software claims some directories are not writable but those directories are already chmoded and the setting os 777 and assigned to apache:apache.  Is there anything missing ? As I am newbie to Linux, please help !!  For windows platform, everything go fine once I added IUSR_MACHINENAME  to the desired directories with Modify right.  Ha, I am a Linux dummy. :(
Title: Re: Impossible to move
Post by: Joachim Müller on May 24, 2005, 08:23:28 am
ownership issue maybe? What user does the webserver run under? Nobody?
Title: Re: Impossible to move
Post by: soulnice on May 24, 2005, 04:12:00 pm
it is under group >apache> and user <apache>. 
Title: Re: Impossible to move
Post by: Joachim Müller on May 25, 2005, 07:11:51 am
hm, not sure what to recommend. Running out of ideas. This issue is not directly coppermine-related, as it deals with permissions on the file system, but I don't want to send you away. Maybe another supporter has got an idea?