Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Impossible to move  (Read 3865 times)

0 Members and 1 Guest are viewing this topic.

sirus

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Impossible to move
« 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.
Logged

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: Impossible to move
« Reply #1 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.
Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

soulnice

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Impossible to move
« Reply #2 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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Impossible to move
« Reply #3 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.
Logged

soulnice

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Impossible to move
« Reply #4 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. :(
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Impossible to move
« Reply #5 on: May 24, 2005, 08:23:28 am »

ownership issue maybe? What user does the webserver run under? Nobody?
Logged

soulnice

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Impossible to move
« Reply #6 on: May 24, 2005, 04:12:00 pm »

it is under group >apache> and user <apache>. 
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Impossible to move
« Reply #7 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?
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 21 queries.