The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/ 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:
    6
    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?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    6
    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.
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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