Open daniejstriata opened 2 years ago
I was wondering if there is anything I can do for limited users that cannot see the full configuration. Using lfs 1.3.0
As limited user:
┌──┬─────┬──────────────┬────┬────┬─────┬─────────┬─────┬─────┬───────────────────────┐ │id│ dev │ filesystem │disk│type│used │ use% │ free│size │mount point │ ├──┼─────┼──────────────┼────┼────┼─────┼─────────┼─────┼─────┼───────────────────────┤ │38│259:4│/dev/nvme0n1p1│SSD │xfs │7.5Gi│54% ██▊ │6.5Gi│14Gi │/ │ │43│259:4│/dev/nvme0n1p1│SSD │xfs │7.5Gi│54% ██▊ │6.5Gi│14Gi │/var/tmp │ │44│259:1│/dev/nvme2n1 │SSD │xfs │1.8Gi│36% █▊ │3.2Gi│5.0Gi│/var/lib/docker │ │49│259:0│/dev/nvme1n1 │SSD │xfs │ │ │ │ │/var/lib/docker/volumes│ └──┴─────┴──────────────┴────┴────┴─────┴─────────┴─────┴─────┴───────────────────────┘
As root:
┌──┬─────┬──────────────┬────┬────┬─────┬─────────┬─────┬──────┬───────────────────────┐ │id│ dev │ filesystem │disk│type│used │ use% │ free│ size │mount point │ ├──┼─────┼──────────────┼────┼────┼─────┼─────────┼─────┼──────┼───────────────────────┤ │38│259:4│/dev/nvme0n1p1│SSD │xfs │7.5Gi│54% ██▊ │6.5Gi│14Gi │/ │ │43│259:4│/dev/nvme0n1p1│SSD │xfs │7.5Gi│54% ██▊ │6.5Gi│14Gi │/var/tmp │ │49│259:0│/dev/nvme1n1 │SSD │xfs │218Mi│ 2% ▏ │9.8Gi│10.0Gi│/var/lib/docker/volumes│ │44│259:1│/dev/nvme2n1 │SSD │xfs │1.8Gi│36% █▊ │3.2Gi│5.0Gi │/var/lib/docker │ └──┴─────┴──────────────┴────┴────┴─────┴─────────┴─────┴──────┴───────────────────────┘
In this example all the contents inside /var/lib/docker/volumes is owned by root. I'm not sure if that is the reason lfs can't calculate the stats. drwx-----x 5 root root 97 Nov 16 11:35 volumes
/var/lib/docker/volumes
lfs
drwx-----x 5 root root 97 Nov 16 11:35 volumes
I was wondering if there is anything I can do for limited users that cannot see the full configuration. Using lfs 1.3.0
As limited user:
As root:
In this example all the contents inside
/var/lib/docker/volumes
is owned by root. I'm not sure if that is the reasonlfs
can't calculate the stats.drwx-----x 5 root root 97 Nov 16 11:35 volumes