From: "Pádraig Brady" <P@draigBrady.com>
To: Nada Machkova <machkova.nada@gmail.com>, 68256@debbugs.gnu.org
Subject: bug#68256: df fails on /run/user/1000/doc with "Operation not permitted"
Date: Fri, 5 Jan 2024 13:51:12 +0000 [thread overview]
Message-ID: <bf485359-13cf-f13d-c910-7299b48ef23a@draigBrady.com> (raw)
In-Reply-To: <CAFgXbTpMnoiop9ffkyM6tF-aoxNtBfUYUJ2u4z1ZoMALM4ZbYA@mail.gmail.com>
tag 68256 notabug
close 68256
stop
On 05/01/2024 09:22, Nada Machkova wrote:
> hello
> I have just upgraded Debian Bullseye
> and simple df command respond at user CLI
> $ df -hT
> df: /run/user/1000/doc: Operation not permitted
> ...
> but when I do the same as root there is NO error.
> So I UNmounted relevant file and AFTER that df response has NO error for user
> # fusermount -u /run/user/1000/doc
> But I need to do it after each reboot :-(
>
> I've just analyzed system status and versions
> and checked related bug https://github.com/flatpak/xdg-desktop-portal/issues/553
> PLS see the following details and let me know if it is coreutils bug
> thank you for your time
> Nada
Debian Bullseye (using coreutils 8.32) would need to apply:
https://github.com/coreutils/gnulib/commit/9a38d499ca.patch
That patch was included in the coreutils >= 9.0 releases,
and avoids including this flatpak related fuse.portal mount in the default df list.
I also have such a fuse.portal mount on my Fedora 39 system:
# grep /run/user/1001/doc /proc/mounts
portal /run/user/1001/doc fuse.portal ...
and weirdly root can statfs() but not stat(), and non root is vice versa :/
# stat /run/user/1001/doc
stat: cannot statx '/run/user/1001/doc': Permission denied
$ stat /run/user/1001/doc
File: /run/user/1001/doc
Size: 0 Blocks: 0 IO Block: 4096 directory
Device: 0,77 Inode: 1 Links: 2
Access: (0500/dr-x------) Uid: ..
Context: system_u:object_r:fusefs_t:s0
$ stat -f /run/user/1001/doc
stat: ... '/run/user/1001/doc': Operation not permitted
# stat -f /run/user/1001/doc
File: "/run/user/1001/doc"
ID: 0 Namelen: 0 Type: fuseblk
Block size: 0 Fundamental block size: 0
Blocks: Total: 0 Free: 0 Available: 0
Inodes: Total: 0 Free: 0
cheers,
Pádraig
prev parent reply other threads:[~2024-01-05 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-05 9:22 bug#68256: df fails on /run/user/1000/doc with "Operation not permitted" Nada Machkova
2024-01-05 13:51 ` Pádraig Brady [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf485359-13cf-f13d-c910-7299b48ef23a@draigBrady.com \
--to=p@draigbrady.com \
--cc=68256@debbugs.gnu.org \
--cc=machkova.nada@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).