"nobody" ownership and FTP Permission Problems

Status
Not open for further replies.

USF-Smiley

Registered
Jul 26, 2009
1
0
51
Hello,

I have failed at my attempt to move from shared hosting to a dedicated server. With my shared host, I could upload a joomla site and edit files without error. Now that I've started with a dedicated server with cPanel/whm, I don't find it as easy. I do not have ssh experience and am told by my dedicated server provider (the planet) that I have to solve the issue on my own. Here is what the planet said:

the planet : Ok I see your issue. You are uploading the files as another user or the program installs where the directories are nobody
the planet : You are trying to change the permissions but the files give that error because they are owned by use nobody.
the planet : You need to be sure you upload or ftp where the files take the permissions of the directory they are in

The problem is, I don't know how to have control over how I upload a joomla template via the joomla/administrator. Therefore, don't know where or how to update my cPanel to allow for edits to the files I wish to edit (ie index.php, footer.php, etc).

Can anyone provide solution in laymans terms? I would prefer to stay with dedicated as I'm now getting about one to two new web hosting customers a week. And, most are joomla sites. So if I cannot get my first joomla site to work, I might just go back to shared hosting until I learn more about setting file permissions for cpanel.

I will entertain suggestions for subcontractor to assist.

Looking forward to replies.

USF-Smiley
 

thewebhosting

Well-Known Member
May 9, 2008
1,199
1
68
You would need to change the ownership of the user from root:nobody to username:username. You can do this through SSH using the below mentioned command.

[email protected][/home/username/public_html]: chown -R user:user [yourfoldername]

Please note that the ownership of the public_html should be user:nobody (if suphp is not enabled)

Once you change the permission, you can able to upload the themes and can able to change the files.
 

johnburk

Well-Known Member
Jun 23, 2006
241
0
166
Do NOT use the above script! There is a reason this user has been banned! The above script will really mess your permissions up!
 
Status
Not open for further replies.