|
Changing the owner 'nobody' in Joomla |
|
|
|
|
Sunday, 25 June 2006 |
I have this same problem on one webhost I'm using. After installing joomla components I was not able to change them through FTP - all new components are created as user 'nobody'. I do not have this problem on another host - all new permissions are set to my uername.I contacted the first webhost, they replied:**** PHP scripts here run as the apache user ("nobody" in this case) not as your user account. This is because PHP is run in mod_php mode. This means that when you upload a file through HTTP (ie through a web form), or your web program creates a file on the server that file will be owned by the user called "nobody". This can create problems when you want to delete, rename, copy, move or edit the file later through FTP, SSH or SFTP because you are not the user "nobody" and thus probably don't have the correct permissions. **** So it seems there is no way around this, they suggested to contact them and theyd set permissions manually for me. However I found this simple way: If you need to change a file in a component, lets say "english.php", the server does not allow you to do that, but you can still rename or delete it. Copy the file to your PC and delete(or rename) the original on the server. After editing copy the file back to the server. Now the permissions are correct. In Joomla config I also set new files nd folder creation permission to server default. I believe it also affects you capability of deleting o renaming "nobody"'s files. So far this is the simplest and fastest way for me to change "nobody"'s files.
|