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.

Archive

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

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

Temporary folder is not writeable


Reply

7 Posts   3312 Views

Avatar
Enlightened_One

19 January 2007 at 4:26pm (Last edited: 19 January 2007 4:51pm), Community Member, 18 Posts

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?

Avatar
Enlightened_One

20 January 2007 at 9:17am Community Member, 18 Posts

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.

Avatar
Tim

21 January 2007 at 9:51pm Core Development Team, 201 Posts

Thanks for the update :-)

Avatar
Sam

25 January 2007 at 11:20am Administrator, 685 Posts

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

Avatar
Ponchito147

14 July 2007 at 10:46am (Last edited: 14 July 2007 10:47am), 1 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:

http://www.lomasinteresante.net

Avatar
Sigurd

14 July 2007 at 3:11pm Forum Moderator, 628 Posts

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

Avatar
tripper54

17 September 2007 at 6:31pm 3 Posts

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