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.

Archive /

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

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

Temporary folder is not writeable


Go to End


7 Posts   3954 Views

Avatar
Enlightened_One

Community Member, 18 Posts

19 January 2007 at 4:26pm

Edited: 19/01/2007 4:51pm

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

Community Member, 18 Posts

20 January 2007 at 9:17am

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

Community Member, 201 Posts

21 January 2007 at 9:51pm

Thanks for the update :-)

Avatar
Sam

Administrator, 690 Posts

25 January 2007 at 11:20am

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

Avatar
Ponchito147

1 Post

14 July 2007 at 10:46am

Edited: 14/07/2007 10:47am

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

Forum Moderator, 628 Posts

14 July 2007 at 3:11pm

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

Avatar
tripper54

3 Posts

17 September 2007 at 6:31pm

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