Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Directories are created with bad permissions

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 753 Views
  • saimo
    Community Member
    67 Posts

    Directories are created with bad permissions Link to this post

    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?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.