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!

Directory - Violation of Unix Standards

Discussion in 'Data Protection' started by PackCat, Feb 15, 2012.

  1. PackCat

    PackCat Active Member

    Joined:
    Jan 20, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Charlotte, NC
    I have noticed lately, maybe during one of the recent upgrades, that cPanel violates the integrity of the Unix file system by placing the following files in User /home directories.

    4 drwx--x--x 7 root root 4096 Feb 15 11:12 ./
    4 drwxr-xr-x 25 root root 4096 Feb 15 11:21 ../
    4 drwxr-xr-x 2 root root 4096 Feb 15 08:15 .cpan/
    4 drwxr-xr-x 3 root root 4096 Feb 15 11:12 .cpanm/
    4 drwx------ 4 root root 4096 Feb 15 11:12 .cpcpan/
    4 drwx------ 3 root root 4096 Feb 15 10:04 cpeasyapache/
    4 drwxr-xr-x 3 root root 4096 Feb 15 08:15 installd/
    32 -rw-r--r-- 1 root root 32145 Dec 13 18:50 latest

    As far as I know there are no UserID's associated with any of these files.
    This is where users keep their personal files
    The (/home) is a reserved storage for File Directories equivalent to Qualified user accounts.
    AND there should be no files here.

    Please take your messy work files and put it into /var /bin/ or /lib directories where they belong!!!

    Please take a moment to review Unix/Linux 101 on Directory structures.
    or look at: http://www.tuxfiles.org/linuxhelp/linuxdir.html

    Thank you for allowing me to rant!
    john
     
    #1 PackCat, Feb 15, 2012
    Last edited: Feb 15, 2012
  2. brianoz

    brianoz Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,146
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    Melbourne, Australia
    cPanel Access Level:
    Root Administrator
    Do you mean the system directory, /home, or the user directories /home/<user> ? Your language is unclear.

    The cpeasypache directory and it's ilk could arguably go elsewhere, but it's not unreasonable for them to be in /home.

    The dot directories, as present in /home, are only present as the result of some sort of bug, they're not intended to be there as far as I know, and yes, that is messy.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. PackCat

    PackCat Active Member

    Joined:
    Jan 20, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Charlotte, NC
    I was very clear. I said the /home directory, not the ~user directory.

    I guess what I should really rant about, is that cPanel ansd EasyApache are very sloppy in their work, by not finishing the job and performing a little housekeeping to clean up after themselves!

    It's like when a contractor comes to your house to install carpet or put in a new floor, and leaves their scraps laying about after they leave.

    Or like when a huge operating system is in version 10, and still has code in it from Windows 95.
    Why are people so lazy?

    Another... when a company leaves an administrator control button in place to change the Hostname, but it BREAKS the licensing!!!

    Thanks again for letting me rant! :)
     
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