Automatic set-up of files in newly created directories

WebMastermind

Registered
Feb 9, 2011
1
0
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!
 

JaredR.

Well-Known Member
Feb 25, 2010
1,834
24
143
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.