Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Temporary folder is not writeable

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 3242 Views
  • Enlightened_One
    Avatar
    Community Member
    18 Posts

    Temporary folder is not writeable Link to this post

    First off, I am really happy to have found a BSD licensed CMS! Nice work!
    ----------------------
    re: The temporary folder isn't writeable!

    I have been searching, and I cannot find the temporary folder to change the permissions. Where is the temporary folder?

    Also. In terms of permissions, what is the usual chmod setting for the silverstripe-v2.0 folder? + For the temporary folder (once I find it).

    I tried 754, 755, 764 and 765. I only got past the permissions when I set the silverstripe-v2.0 folder to chmod 777. I do not like opening the folder up so wide. What is the normal practice?

  • Enlightened_One
    Avatar
    Community Member
    18 Posts

    Re: Temporary folder is not writeable Link to this post

    To solve the temporary folder not writealbe issue I got into the install.php file to find the temporary folder.

    ######################################

    if(!is_writeable(dirname(tempnam('adfadsfdas','')))) {

             $this->error(array("File permissions", "Is the temporary folder writeable?", "The temporary folder isn't writeable!"));

          }

    ######################################

    I created the folder adfadsfdas in the silverstripe-v2.0 folder and set the permissions to global read write and execute.

    mkdir adfadsfdas
    chown username adfadsfdas
    chmod 777 adfadsfdas

    This got me passed this configuration setting.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Temporary folder is not writeable Link to this post

    Thanks for the update

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: Temporary folder is not writeable Link to this post

    We'll update the installer so that the error message provides more instruction - including telling you which folder is the temp folder!

  • Ponchito147
    Avatar
    1 Post

    Re: Temporary folder is not writeable Link to this post

    I have the same problem. I already make a folder "adfadsfdas" in the base folder and set the permissions to 777 but the installer still telling the same: The temporary folder isn't writeable!

    I hope you can help me ! My website:

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Temporary folder is not writeable Link to this post

    The temp folder is normally /tmp/ ....

  • tripper54
    Avatar
    3 Posts

    Re: Temporary folder is not writeable Link to this post

    Hi,

    I had this problem, too. In the end I discovered it was due to open_basedir restrictions in httpd.conf preventing access to /tmp/

    I hope this helps someone else...

    P

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