22438 Posts in 7081 Topics by 2751 members
|Go to End|
13 November 2011 at 12:49pm
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?
14 November 2011 at 7:42pm
Just wondering if anyone has had a similar issue and knows how to resolve the problem?
15 November 2011 at 5:24am
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.
|Go to Top|