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



Reply via email to