Jump to:

22979 Posts in 11760 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » File upload permissions - Godaddy shared hosting

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: 996 Views
  • flipsidenz
    Avatar
    Community Member
    49 Posts

    File upload permissions - Godaddy shared hosting Link to this post

    Hi all,

    I have a live Silverstripe 2.4.5 website currently sitting on a Godaddy Linux shared hosting account.

    One issue which has cropped up is file permissions on files uploaded via the CMS.

    I have read/write permissions setup for the assets folder, and also the assets/Uploads folder - both set to 777.

    When I upload a file to the uploads folder, the file is uploaded, but assigned a 600 permission setting (which is read only for the owner, inaccessible by the public)

    Does anyone have an experience with this, and know how to ensure files are uploaded with the ability for the public to read uploaded files?

  • flipsidenz
    Avatar
    Community Member
    49 Posts

    Re: File upload permissions - Godaddy shared hosting Link to this post

    Just wondering if anyone has had a similar issue and knows how to resolve the problem?

  • johnmblack
    Avatar
    Community Member
    61 Posts

    Re: File upload permissions - Godaddy shared hosting Link to this post

    Sometimes it's not just the permissions, it's the Owner. We had similar issues. Did *you* create the assets and uploads folder, or did you let SilverStripe create it? If you created them, then try removing them completely, then doing a dev/build and try going into the CMS and uploading some files. This should make SS automatically create whatever folder it detects is missing, and then the webservice will be the owner of that folder instead of you.

    -John

    996 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.