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.

account creation automatically creates images folder

Discussion in 'General Discussion' started by tnfezda, Oct 16, 2010.

  1. tnfezda

    tnfezda Member

    Joined:
    Jul 23, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    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/
     
  3. tnfezda

    tnfezda Member

    Joined:
    Jul 23, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    it is not in those directories.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:

    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.
     
  5. tnfezda

    tnfezda Member

    Joined:
    Jul 23, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    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/
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Good call, this one went right past me.
     
Loading...

Share This Page