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.

Automatic set-up of files in newly created directories

Discussion in 'General Discussion' started by WebMastermind, Feb 9, 2011.

  1. WebMastermind

    WebMastermind Registered

    Joined:
    Feb 9, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hey all,

    I'm looking to have a script upload a certain set of files everytime a new directory is created. This way, I don't have to add those files manually every time I want to add a new directory to the account. Is this possible to achieve this in cPanel or do I need to be looking elsewhere? If so, would you mind pointing me in the right direction as I've been researching for quite a bit here. Much help would be appreciated! Thanks in advance!
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    /root/cpanel3-skel is used when new accounts are created. Files and directories in /root/cpanel3-skel will be created in a new account's home directory when the account is created. This will happen for all accounts that are created on the server; there is no way to make the changes apply only to certain resellers or certain packages.
     
Loading...

Share This Page