Author Topic: Permission Denied .. can you advise please!  (Read 5384 times)

0 Members and 1 Guest are viewing this topic.

Offline tender_heart

  • Newbie
  • *
  • Posts: 17
    • View Profile
Permission Denied .. can you advise please!
« on: April 09, 2007, 06:22:44 PM »
Hi everyone,
installation is fine ... but when i try to upload or even create an Auto-Thumbnails it gives me the following error:

Warning: imagejpeg() [function.imagejpeg]: Unable to open './../data/thumbnails/9/osama_local.jpg' for writing: Permission denied in /home/***/public_html/my_studio/includes/image_utils.php on line 93


I gave the proper permissions to the folders, as follow:


Set permissions for the following directories:

     chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : data/tmp_media
     chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media

and

     Set permissions for the following files:

     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default"
     chmod 666 (-rw-rw-rw-) : all files in the directory "templates/default/media"


can you advise please?!

thanks
O

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Permission Denied .. can you advise please!
« Reply #1 on: April 10, 2007, 12:42:59 PM »
is the safe mode turned on or off?

Offline tender_heart

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Permission Denied .. can you advise please!
« Reply #2 on: April 10, 2007, 02:40:46 PM »
Hi,
NO its not running the safe mode!!

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Permission Denied .. can you advise please!
« Reply #3 on: April 10, 2007, 02:43:05 PM »
and the subfolder of the media folder?

Offline tender_heart

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Permission Denied .. can you advise please!
« Reply #4 on: April 10, 2007, 08:52:19 PM »
and the subfolder of the media folder?


all sub folders permissions are 755 ... do i need to change it?

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Permission Denied .. can you advise please!
« Reply #5 on: April 11, 2007, 11:58:00 AM »
yes... the subfolders need the same permission as the media folder...

and the same for the thumbnail folder...