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!

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:
    51
    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

    Joined:
    Feb 25, 2010
    Messages:
    1,835
    Likes Received:
    21
    Trophy Points:
    143
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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