Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/ dir empty after changing homedir

Discussion in 'General Discussion' started by ljesh, Dec 22, 2008.

  1. ljesh

    ljesh Well-Known Member

    Joined:
    Aug 2, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    56
    Hi.
    Last night I changed the homedir for most of the accounts I host. Now, when you FTP one of those accounts the home dir is empty :confused:
    Can someone help?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Changing the homedir of a cPanel account's primary domain is not functionality we natively support in cPanel/WHM at this time. As a result, I wouldn't recommend changing it.

    Or are you referring to the homedir for subdomains and addon domains?
     
  3. ljesh

    ljesh Well-Known Member

    Joined:
    Aug 2, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    56
    I have to change it David, i want to use my second HDD (/home2) for backing up the accounts only and whm have created some accounts there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    WHM will automatically recognize any partition that starts with /home (e.g. /home2) as a location to provision new accounts.

    If you want to move these accounts back to /home, please use the Rearrange Accounts function in the WHM interface under "Account Functions."

    Additionally, if you do not want cPanel/WHM to use that drive as a second home directory, you may wish to consider not partitioning that second drive as /home2. If it is strictly for backing up accounts, partition it as /backup and configure cPanel/WHM to use it as a backup partition by going to WHM -> Backups -> Configure Backup
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice