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!

Users can go above their accounts in FTP with cagefs active

Discussion in 'CloudLinux' started by 3awh, May 18, 2019.

Tags:
  1. 3awh

    3awh Active Member

    Joined:
    Sep 1, 2008
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    WWW
    I had to redo the server and install everything over. I installed all accounts and when a user is ftp in they can go above their account name into directories above it
    /
    ...
    bin
    dev
    etc
    home
    lib
    lib64
    opt
    proc
    sbin
    tmp
    usr
    var
    -----/home
    --------------useraccountname
    ------------------------------------------- .cagefs
    ------------------------------------------- .cl.selector
    -------------------------------------------.cphorde
    ------------------------------------------- .htpasswds
    ------------------------------------------- access-logs
    ------------------------------------------- etc
    ------------------------------------------- logs
    ------------------------------------------- mail
    ------------------------------------------- public_ftp
    ------------------------------------------- public_html
    ------------------------------------------- ssl
    ------------------------------------------- tmp
    ------------------------------------------- www

    How do I stop them from getting above second Home so all they can see is is
    /home/useraccountname


    thanks
    Mitch
     
  2. dalem

    dalem Well-Known Member PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,908
    Likes Received:
    127
    Trophy Points:
    368
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    I do not See this behavior?
    only on SFTP & they jailed to the cage and only see files that they use or permission denied
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,272
    Likes Received:
    2,154
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @3awh,

    CloudLinux documents information about CageFS mount points on the link below:

    CageFS | Documentation

    Can you review this document and confirm that you notice behavior that's contrary to what's documented?

    Thank you.
     
    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