CageFS and df

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • info
    Member
    Forum Explorer
    • Mar 2021
    • 36

    #1

    CageFS and df

    Hello, is it possible to allow one user to see harddrive mounts? Its for a monitoring system.

    df: cannot read table of mounted file systems: No such file or directory
  • iseletsk
    Senior Member
    • Dec 2017
    • 1199

    #2
    Yes, it is possible. Make sure to put that users group into proc_super_gid

    Comment

    • info
      Member
      Forum Explorer
      • Mar 2021
      • 36

      #3
      Yeah I thought I did that. The user in question has gid 540 according to /etc/group so I added fs.proc_super_gid=540 to /etc/sysctl.conf and did sysctl -p but it didnt seem to make any difference.

      Comment

      • iseletsk
        Senior Member
        • Dec 2017
        • 1199

        #4
        Try to login as that user, and see if you can see needed files.
        If you cannot -- contact our support department (helpdesk.cloudlinux.com) with access info & we will help.

        Comment

        Working...