Jump to:

4873 Posts in 7171 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Install file permissions

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

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

Page: 1
Go to End
Author Topic: 546 Views
  • RossSadler
    Avatar
    Community Member
    3 Posts

    Install file permissions Link to this post

    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!!!

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Install file permissions Link to this post

    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.

  • RossSadler
    Avatar
    Community Member
    3 Posts

    Re: Install file permissions Link to this post

    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

  • RossSadler
    Avatar
    Community Member
    3 Posts

    Re: Install file permissions Link to this post

    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";

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