hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Fix ownership of folders and directories in one pass for cPanel server
Reply

Forum Jump

Fix ownership of folders and directories in one pass for cPanel server

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-05-2009, 10:05 PM
sharmaine1111 sharmaine1111 is offline
Web 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



Sponsored Links
  #2  
Old 09-05-2009, 10:43 PM
woods01 woods01 is offline
relax, im a professional
 
Join Date: Dec 2007
Posts: 1,277
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

  #3  
Old 09-05-2009, 11:10 PM
sharmaine1111 sharmaine1111 is offline
Web 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

Sponsored Links
  #4  
Old 09-06-2009, 02:55 AM
InstaCarma_Support InstaCarma_Support is offline
Disabled
 
Join Date: Apr 2009
Posts: 257
You can try the following :
Code:
sudo chown -R username_of_new_owner foldername
This will change the ownership of the folder ( including all files and sub-folders within it) recursively.

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to change ownership and group for a batch of files/directories? ivytony VPS Hosting 4 07-06-2006 09:09 PM
I can't change pass cpanel ! blackmoont Hosting Security and Technology 10 02-08-2004 04:59 AM
FTP pass doesn't syncronice with cpanel pass wheimeng Hosting Security and Technology 3 06-26-2003 12:36 AM
WHM (and CPanel ?) directories/folders wizital Hosting Software and Control Panels 11 04-18-2003 02:52 PM

Related posts from TheWhir.com
Title Type Date Posted
CloudLinux Releases New Inode Limits Feature for cPanel Web Hosting News 2013-08-28 16:38:27
Hosting Control Panel cPanel & WHM 11.34 Release Hits Stable Tier Web Hosting News 2012-11-12 17:04:57
A Look at the New WHM Interface in Version 11.34 of the cPanel Hosting Control Panel Web Hosting News 2014-05-09 12:40:52
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2014-05-02 15:24:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?