Amr Magdy Posted April 18, 2017 Posted April 18, 2017 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 : one named like :"orginal.0x260.jpg" with permission 644 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now