4873 Posts in 7260 Topics by 1471 members
|Go to End|
10 March 2011 at 2:29pm Last edited: 10 March 2011 2:31pm
Hi all. Just attempting my third SilverStripe install on a server (yes, I'm a newb). Have not had any problems before but now I'm getting the following:
User 't1trigirl' needs to be able to write to this file:/var/tmp//silverstripe-cache
The file is currently owned by 'jcaseley'. 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.
Can anybody tell me where /var/tmp//silverstripe-cache would be? And who is this 'jcaseley' anyway?
10 March 2011 at 9:05pm
unix file permissions yay
I can only assume t1trigirl & jcaseley are users on your unix box... but I'd recomend you create a 'silverstripe-cache' folder in your webroot - silverstripe will then use that instead of '/var/tmp//silverstripe-cache'.
Also there are setfacl, chown and chmod commands to look into to change permissions to folders it this continues.
10 March 2011 at 9:43pm Last edited: 10 March 2011 9:49pm
t1trigirl is a legitimate user, no idea who jcaseley is!
Tried creating a folder called silverstripe-cache inside the tmp folder on the root directory to no avail. Thanks for your idea though -- I'll give it a try! Have already looked a chown/chmod... but when you can't find the correct directory it has no effect!
Hey what do you know? It worked!! Cool!!
11 March 2011 at 5:49pm
Tried creating a folder called silverstripe-cache inside the tmp folder on the root directory to no avail. Thanks for your idea though -- I'll give it a try
I think you misread swaiba's post. Try create one in your SilverStripe root (same level as cms, sapphire etc). Normally you have full permissions to your site directory and not to tmp. After adding that, run a ?flush=1
11 March 2011 at 9:39pm Last edited: 11 March 2011 9:40pm
Thanks for your comment Willr. That was what I did and now everything's up and running. I am puzzled as to why it happened, however? I have done other SS installations to server without this problem.
The first solution was suggested by my web hosting company and no, it didn't work!
Great forum and great support!
|Go to Top|