account creation automatically creates images folder

tnfezda

Member
Jul 23, 2005
6
0
151
Every new account that I create using whm, it automatically creates a folder called "images" under the public_html folder. I do not want this to happen. How can I get it to not do this?

Thanks
 

Infopro

Well-Known Member
May 20, 2003
17,090
518
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You might check your cpanel3-skel directory for this folder. cPanel does not create an images directory normally. But it will copy anything you have placed in the cpanel3-skel and move it to the new account.

If you are creating a new account using a reseller as owner, that directory would be here:
/home/resellersname/cpanel3-skel/
 

tnfezda

Member
Jul 23, 2005
6
0
151
You might check your cpanel3-skel directory for this folder. cPanel does not create an images directory normally. But it will copy anything you have placed in the cpanel3-skel and move it to the new account.

If you are creating a new account using a reseller as owner, that directory would be here:
/home/resellersname/cpanel3-skel/
it is not in those directories.
 

Infopro

Well-Known Member
May 20, 2003
17,090
518
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
it is not in those directories.

It depends on who you're logged in as when creating the account..
The path I gave was for if you were logged in as reseller.
If you're logged in as root when creating the account, you might check:
/root/cpanel3-skel/
to see if that's where the images dir is coming from.

It can be only one or the other path.
 

tnfezda

Member
Jul 23, 2005
6
0
151
It depends on who you're logged in as when creating the account..
The path I gave was for if you were logged in as reseller.
If you're logged in as root when creating the account, you might check:
/root/cpanel3-skel/
to see if that's where the images dir is coming from.

It can be only one or the other path.
i am signed in as root. there is nothing in either on of those folders at all. the folder is being created during the account creation. what are the scripts to see when the public_html folder is created?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
If you select to add FrontPage Extensions to accounts on creation, it will add an images folder into public_html

Please note that FrontPage Extensions are automatically checked in WHM > Create a New Account area. If you check "Select Options Manually" on that new account creation, you'll see FrontPage Extensions checked under the Settings area there. You could create a package that doesn't have FrontPage Extensions selected and then use that package for new account creations.

If you do want FrontPage Extensions to be added to new accounts, the images folder is a requirement of using them.

Just to show the difference, here's an account with FrontPage extensions that I just installed:

Code:
# ls -lah /home/three/public_html
total 52K
drwxr-x--- 10 three nobody 4.0K Oct 17 11:35 ./
drwx--x--x  8 three three  4.0K Oct 17 11:35 ../
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 cgi-bin/
-rw-r--r--  1 three three   353 Oct 17 11:35 .htaccess
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 images/
-rw-r--r--  1 three three  2.4K Oct 17 11:35 postinfo.html
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 _private/
drwxr-xr-x  4 three three  4.0K Oct 17 11:35 _vti_bin/
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 _vti_cnf/
-rw-r--r--  1 three three  1.8K Oct 17 11:35 _vti_inf.html
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 _vti_log/
drwxr-x---  2 three nobody 4.0K Oct 17 11:35 _vti_pvt/
drwxr-xr-x  2 three three  4.0K Oct 17 11:35 _vti_txt/
Here's an account without them that I then installed right after:

Code:
# ls -lah /home/threetwo/public_html
total 12K
drwxr-x--- 3 threetwo nobody   4.0K Oct 17 11:35 ./
drwx--x--x 8 threetwo threetwo 4.0K Oct 17 11:35 ../
drwxr-xr-x 2 threetwo threetwo 4.0K Oct 17 11:35 cgi-bin/