Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Hosting Requirements /

What you need to consider when choosing a hosting provider and plan.

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

Documentation on file ownership and permissions.


Go to End


2 Posts   217 Views

Avatar
basedrop

Community Member, 3 Posts

8 June 2017 at 1:49pm

In the process of migrating an established site to a new server. I used my SaaS versioning system (Beanstalk) to push the files to the new server. I seem to have run into a problem with ownership of directories and files, and permission levels for certain directories and files. I have shell access to my server and can recursively chmod/chown the directories and files. I'm looking for documentation on which dirs/files need to be owned by the server (or user nobody) and which dirs/files need special permissions. Version 2.4. Thank you for any help you can provide.

Avatar
martimiz

Forum Moderator, 1391 Posts

21 June 2017 at 1:56am

Sorry for the late reply. Basically the only files that need writing permissions are:

assets/
the whole directory, all files

mysite/_config.php
only while using the default SilverStripe install routine, unless all database data have allready been entered.

silverstripe-cache/
Only if it exists. If it doesn't, Silverstripe will use the default tmp directory for its cache files