Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limited users do not get full view #25

Open
daniejstriata opened this issue Nov 16, 2021 · 0 comments
Open

limited users do not get full view #25

daniejstriata opened this issue Nov 16, 2021 · 0 comments

Comments

@daniejstriata
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant