Hey!
Does exist any command, for changing an file owner and group?
Some stuff on my website is running as a root, and i am just finding some way, how to change it to user account, without any file lose.
That stuff has more than 1 GB, so unfortunaly i cant download it and put it to File manager in my ACP.
Also if it doesnt exist, is there a way, how to connect via user through FTP? I mean if i will paste there something, it will be under user not a root.
Command for file owner change
Re: Command for file owner change
Gruß,
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
Re: Command for file owner change
Hello,
the command is called chown
e.g.
That will change all files and subdirectories of the folder you changed to. !!!! So please take care that you run this command in the correct folder!!!!
the command is called chown
e.g.
Code: Select all
chown -R user:group *
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************