Jump to content

Images uploaded with permission 600 and return 403 forbidden


Amr Magdy
 Share

Recommended Posts

Hi all

When I uploaded any image it uploaded to "/site/assets/files/xxxx" path  with permission  600 and return 403 forbidden when I tried yo access it or edit it

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

I tried to upload from another external PHP file to the same directory "assest/files" and it is uploaded with "644" !!!

Anybody can help?

Link to comment
Share on other sites

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...