Results 1 to 4 of 4
Hybrid View
-
09-05-2009, 10:05 PM #1Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 815
Fix ownership of folders and directories in one pass for cPanel server
Is there a way to sort of mass update all ownership of all folders and files via SSH? This is related to migrating accounts from server NOT running in suphp and suexec to server running in suphp and suexec. Hence, there are so many internal server errors.
All things work together for the good of those who love God - Romans 8:28
-
09-05-2009, 10:43 PM #2relax, im a professional
- Join Date
- Dec 2007
- Posts
- 1,278
Theres a variety of things in /scripts that may resolve your issue. cPanel has this directory outlined on their site somewhere.
James Paul Woods
Operations Manager
HostKitty Internet Services
-
09-05-2009, 11:10 PM #3Web Hosting Master
- Join Date
- Sep 2007
- Posts
- 815
I found this but it will delete the files instead of fixing it
chownpublichtmls - Change ownership of all users web space to them, which is useful for converting to suexec. Files owned by nobody are deleted.All things work together for the good of those who love God - Romans 8:28
-
09-06-2009, 02:55 AM #4Disabled
- Join Date
- Apr 2009
- Posts
- 256
You can try the following :
Code:sudo chown -R username_of_new_owner foldername
Similar Threads
-
how to change ownership and group for a batch of files/directories?
By ivytony in forum VPS HostingReplies: 4Last Post: 07-06-2006, 09:09 PM -
I can't change pass cpanel !
By blackmoont in forum Hosting Security and TechnologyReplies: 10Last Post: 02-08-2004, 04:59 AM -
FTP pass doesn't syncronice with cpanel pass
By wheimeng in forum Hosting Security and TechnologyReplies: 3Last Post: 06-26-2003, 12:36 AM -
WHM (and CPanel ?) directories/folders
By wizital in forum Hosting Software and Control PanelsReplies: 11Last Post: 04-18-2003, 02:52 PM