If I try to create a new assets directory it gets created by the apache user (in this case, httpd) and with permissions where only the user can write to the directory. This is bad, because at least my hostingprovider claims that uploads are only possible if the target directory is world writeable. Actual testing confirms this.
All this breaks the gallery module for example. Even manually uploading images via FTP doesn't work until I manually create the _resampled folder with good permissions.
Is there a way to change what permissions are set by default for new directories?
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.