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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Install file permissions


Go to End


4 Posts   1420 Views

Avatar
RossSadler

Community Member, 3 Posts

27 October 2012 at 8:56am

I know this has been mentioned before, all fine on install but get

User 'xxxxxx.co.uk' needs to be able to write to this file:
/tmp/silverstripe-cache

I've tried all the - change line etc to

function getTempFolder() {
$sysTmp = sys_get_temp_dir();
$worked = true;
$ssTmp = "/silverstripe-cache";

Done that but still get same error.

Any help really appreciated!!!

Avatar
Willr

Forum Moderator, 5523 Posts

27 October 2012 at 1:16pm

The easiest way to get around tmp permissions is to manually create a 'silverstripe-cache' folder in your site root directory and give that read write access.

Avatar
RossSadler

Community Member, 3 Posts

27 October 2012 at 6:55pm

Thanks for that, but still not working. Still get this error:
--------------------------------------------------------------------------------
User 'cmpe-sussex.co.uk' needs to be able to write to this file:
/tmp/silverstripe-cache

The file is currently owned by 'macs-software.co.uk'. There is no user-group that contains both the web-server user and the owner of this file. Change the ownership of the file, create a new group, or temporarily make the file writeable by everyone during the install process.
-------------------------------------------------------------------------------
Ive created a 'silverstripe-cache' & 'temp/silverside-cache' both with 666

Avatar
RossSadler

Community Member, 3 Posts

27 October 2012 at 7:11pm

SOLVED
started again. Didn't create s 'silverside-cache' dir, just changed install.php5 line 727 from

$ssTmp = "$sysTmp/silverstripe-cache";

to

$ssTmp = "/silverstripe-cache";