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.

Need Help :: Symlink between cPanel Account and Root

Discussion in 'cPanel Developers' started by sampathneo, Sep 29, 2011.

  1. sampathneo

    sampathneo Registered

    Joined:
    Sep 29, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I need help with create permanent "folder" (default like WWW folder ) on each new cPanel accounts, it should be automatic , means when we crate new cpanel account on whm, it should be create automatically on cpanel account , it should be symlink with root/ folder
     
  2. MattDees

    MattDees cPanel Product Owner
    Staff Member

    Joined:
    Apr 29, 2005
    Messages:
    417
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you create /root/cpanel3-skel/ the contents of it should automatically be copied into a user's directory on new account creation.

    That being said, putting a symlink into here to /root won't work due to permissions. If you changed those permissions, you would create a way for users to steal information that should only be available to root (mysql passwords, accesshashes, etc)
     
Loading...

Share This Page