Jump to:

23480 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Weired upload permission behaviour

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 837 Views
  • dompie
    Avatar
    Community Member
    88 Posts

    Weired upload permission behaviour Link to this post

    Hello everyone,

    i have a strange problem on file upload permissions. On my development files are created with 0744 permissions and folders also with 0744 permissions.

    On live system somehow files are created with 0600 and folders (correctly) with 0755. The create mask in sapphire/filesystem/Filesystem.php seems do be ignored somehow.
    For some reason the settings from Filesystem.php seems to be ignored, no matter weather i write 02775 (original value) or 0775.

    I have read something about open_basedir bug, but on my systems open_basedir value is empty. Any hints how to fix this problem? I'm running SS2.4.1 on ubuntu with apache.

  • dompie
    Avatar
    Community Member
    88 Posts

    Re: Weired upload permission behaviour Link to this post

    Changing foler_create_mask and file_create_mask to 0755 fixes this behaviour on development system, but does not resolve the issue on live where files still being created with 0600.

    837 Views
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.