I'm facing an issue that, my uploaded photo has 640 permission instead of 644, so I can't access the photo by 403 error code.
By checking the code in functions_upload.inc.php I see that the function chmod is not working properly.
My case, I don't use the Piwigo upload api, but using an other service, and when have the file I use the function add_uploaded_file as Piwigo does.
Could someone please suggest me the solution? Thanks.
Hi,
I'm facing an issue that, my uploaded photo has 640 permission instead of 644, so I can't access the photo by 403 error code.
By checking the code in `functions_upload.inc.php` I see that the function `chmod` is not working properly.
My case, I don't use the Piwigo upload api, but using [an other service](https://tus.io/), and when have the file I use the function `add_uploaded_file` as Piwigo does.
Could someone please suggest me the solution? Thanks.
<!-- github-sync-id:304241481 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
I'm facing an issue that, my uploaded photo has 640 permission instead of 644, so I can't access the photo by 403 error code.
By checking the code in
functions_upload.inc.phpI see that the functionchmodis not working properly.My case, I don't use the Piwigo upload api, but using an other service, and when have the file I use the function
add_uploaded_fileas Piwigo does.Could someone please suggest me the solution? Thanks.