Jump to content

Images uploaded with permission 600 and return 403 forbidden


Amr Magdy
 Share

Recommended Posts

Thank you 
But my config file now like this:

$config->chmodDir = '0755'; // permission for directories created by ProcessWire
$config->chmodFile = '0644'; // permission for files created by ProcessWire 

But after I upload new image I found 2 version of it : 

  1. one named like :"orginal.0x260.jpg" with permission  644 
  2. another one with orginal name with  permission 600

Sorry but I'm new to processwire 

Link to comment
Share on other sites

The permissions inside your config file were detected during your installation of ProcessWire and seem to be alright.

33 minutes ago, Amr Magdy said:

But after I upload new image I found 2 version of it : 

  1. one named like :"orginal.0x260.jpg" with permission  644 
  2. another one with orginal name with  permission 600
  1. This is the thumbnail used for the admin created from your original image.
  2. This is obviously the original image. ;) But strange, that this one has permission 600.

Sorry, but I have no explanation for this behavior. Maybe someone else here can help you or you have to contact the support of your hoster.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...