Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

chmod of image directory.


knifeman

Recommended Posts

Posted

I have my images directory and the imagecache directory both set up at 755. I have noticed that when I view my site, I get the following in my error logs:

chmod: changing permissions of `/mydomain//images/imagecache': Operation not permitted

 

Notice the double slash in the file path. Why would merely browsing the web site, cause this error to appear? For those that don't use it, imagecache is a thumbnail contrib. If a picture exists in the cache directory, then that is the one shown on the pages. If there is no file already, one is created.

 

Tim

  • 1 year later...
Posted

Hi,

 

Did you find an answer to this? I couldn't find anything anywhere on the osCommerce forum about this. But I did figure it out on my own in the end! So I thought I would post simply so there is an answer to this on the forum for other people to find.

 

My solution was that as the folder was created by the FTP account the web server couldn't change the permissions (for whatever reason it needs to). So by changing the owner and group of the imagecache folder to apache (or which ever web server user is used) it would allow permission changes by the web server when caching the images.

 

Hope that is clear enough and helps!

 

 

Luke

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...