Forum Moderators: phranque

Message Too Old, No Replies

How to change the file ownership

         

universalsid

7:34 pm on Aug 18, 2006 (gmt 0)

10+ Year Member



I use a shared hosting service for my website and recently i've installed few components of Mambo CMS, like Bookmark, VirtueMart Component etc.
MamboXplorer suggests that the owner of those files is nobody, which is not the ftp account i use to login and manage files in my server.
The problem is that i can not edit/delete those files whose owner is set to "nobody".
I think changing the ownership of those files may resolve the issue, but i find no tools to do so.
For your information, i have tried LeechFTP, cPanel File Manager and MamboXploere.
Please help.

lammert

7:46 pm on Aug 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



In a Linux/FreeBSD environment (which I guess is the operating system used by your hosting company) you can not change the ownership of files you don't own. Only the administrator or the current owner of a file can do this.

The common way to change ownership is with the chown utility, but you need SSH access to the server to use this program. chown is one of the base unix-like utilities and should be available on all servers running some unix flavor.