← Back to Image Databanks Support
Hello,
I tested the unsplash integration, so the plugin created a download/unsplash folder when I downloaded my first images.
The images display correctly in media manager, but when I click on the link to see the original file, I get a 404 error.
I investigated this and it's because the /download/unsplash folders are created with the CHMOD 700. Changing it to 755 fix the issue.
Best regards,
Zmove said:
Hello,
I tested the unsplash integration, so the plugin created a download/unsplash folder when I downloaded my first images.
The images display correctly in media manager, but when I click on the link to see the original file, I get a 404 error.
I investigated this and it's because the /download/unsplash folders are created with the CHMOD 700. Changing it to 755 fix the issue.
Best regards,
probably your configuration sets all perms to 700. can you please confirm your .env file with
DEFAULT_FILE_MASK=775
DEFAULT_FOLDER_MASK=775
Here is my .env :
DEFAULT_FILE_MASK=775 DEFAULT_FOLDER_MASK=775
And the folder is created with chmod 700
Zmove said:
Here is my .env :
DEFAULT_FILE_MASK=775 DEFAULT_FOLDER_MASK=775
And the folder is created with chmod 700
this is strange, because plugin uses Storage::makeDirectory() and this may adapt correct chmod setting from that .env file :/ then, probably check if there are not restriction - safemode of octobercms ... this will probably can change perms as well regarding to
October has safe mode configuration that protects backend users from making changes to sensitive files, with no way to ever override this
1-5 of 5