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.

Installing SilverStripe /

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

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

Install file permissions


Reply


4 Posts   747 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, 5513 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";