[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#73134: coreutils: df: no file systems processed
From: |
Bernhard Voelker |
Subject: |
bug#73134: coreutils: df: no file systems processed |
Date: |
Mon, 9 Sep 2024 21:43:18 +0200 |
User-agent: |
Mozilla Thunderbird |
On 9/8/24 11:45 PM, Felix Miata wrote:
ab85m:~ # df/sys/firmware/efi/efivars/
df: no file systems processed
ab85m:~ #
Anything any ordinary user can do the superuser ought be able to do, especially
when involving OS, right???
This is not necessarily true, because the kernel decides what 'root' is allowed
to do.
I don't have such an efi mount point right here to test, but a different one
for which
the kernel denies access for root:
$ sudo strace -e newfstatat df -h /run/user/1000/gvfs
newfstatat(AT_FDCWD, "/run/user/1000/gvfs", 0x55cd2e4c0e50, 0) = -1 EACCES
(Permission denied)
df: /run/user/1000/gvfs: Permission denied
+++ exited with 1 +++
Have a nice day,
Berny