Results 1 to 4 of 4
  1. #1
    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

  2. #2
    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. #3
    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

  4. #4
    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.

  5. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Similar Threads

  1. Replies: 4
    Last Post: 07-06-2006, 09:09 PM
  2. I can't change pass cpanel !
    By blackmoont in forum Hosting Security and Technology
    Replies: 10
    Last Post: 02-08-2004, 04:59 AM
  3. FTP pass doesn't syncronice with cpanel pass
    By wheimeng in forum Hosting Security and Technology
    Replies: 3
    Last Post: 06-26-2003, 12:36 AM
  4. WHM (and CPanel ?) directories/folders
    By wizital in forum Hosting Software and Control Panels
    Replies: 11
    Last Post: 04-18-2003, 02:52 PM

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •