Page 1 of 1

can't change file permissions

Posted: Fri Oct 20, 2006 3:56 am
by tshcomm
hi. when i go into my template folder to make changes to the tpl files, it won't save any of my changes. then i tried to chmod them to see if that was the problem and it won't let me change that either. it's like it has locked all the template stuff. please help.

thanks!

Posted: Fri Oct 20, 2006 5:48 am
by judebert
Are you editing the files locally, or through FTP? Many servers don't allow chmod/chuser through FTP (or at all). It's supposed to be a security feature.

You should be able to do it the hard way: download the files, edit them, upload them. If you can't upload your own files, the server has a ridiculous configuration. If you can't modify the files locally, you can modify their permissions.

A thought just occured to me: are you thinking the template files haven't changed because the page hasn't changed? Could your browser be caching the page, so you don't retrieve it after the modifications? If so, the "reload" button should force the browser to get the new page.

it changed the permissions to nobody

Posted: Sat Oct 21, 2006 4:22 am
by tshcomm
why did this change my server permissions to nobody for this (and some other) templates???

Re: it changed the permissions to nobody

Posted: Sun Oct 22, 2006 3:18 pm
by garvinhicking
Hi!

When the spartacus plugin downloads themes or plugins for you from the web, it saves files and directory with the username of the PHP/Webserver process. In your case this is 'nobody'.

If you want to have a different user assigned to your files, go and configure the spartacus plugin, there you can enter the username. Bear in mind that this only changes future dwonloaded files, not currently downloaded files.

You can change the owner of current files using a script like fixperm.php in the www.s9y.org FAQ.

HTH,
Garvin

Posted: Sun Oct 22, 2006 10:23 pm
by tshcomm
thanks for the input and help!