GNU bug report logs - #73134
coreutils: df: no file systems processed

Previous Next

Package: coreutils;

Reported by: Felix Miata <mrmazda <at> earthlink.net>

Date: Mon, 9 Sep 2024 04:09:04 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Felix Miata <mrmazda <at> earthlink.net>, 73134 <at> debbugs.gnu.org
Cc: Andreas Schwab <schwab <at> suse.de>, Thorsten Kukuk <kukuk <at> suse.com>
Subject: bug#73134: coreutils: df: no file systems processed
Date: Mon, 9 Sep 2024 21:43:18 +0200
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




This bug report was last modified 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.