How do I remove this w/o rebooting or reformatting (.gvfs)
Ishtar:# rm -r 2015-04-26 rm: cannot remove '2015-04-26/root/.gvfs': Operation not permitted Can't delete, unmount, rename, lsof+fuser both come up empty. Any ideas on how to remove these things? Thanks!
On 29/01/2021 02.38, L A Walsh wrote:
Ishtar:# rm -r 2015-04-26 rm: cannot remove '2015-04-26/root/.gvfs': Operation not permitted
Can't delete, unmount, rename, lsof+fuser both come up empty.
Any ideas on how to remove these things?
It is a virtual directory created by gnome. But I have never seen it hanging there, from "2015-04-26". Where does that one come from? The normal structure is this: Telcontar:~ # l /run/user/0/gvfs/ total 0 dr-x------ 2 root root 0 Jan 28 22:56 ./ drwx------ 10 root root 240 Jan 28 23:56 ../ Telcontar:~ # I also see: Telcontar:~ # l .gvfs/ total 20 drwx------ 2 root root 4096 Oct 11 22:57 ./ drwx------ 131 root root 16384 Jan 28 23:25 ../ Telcontar:~ # But that date thing you have, no idea where it comes from. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
Hi On 1/29/21 12:08 PM, L A Walsh wrote:
Ishtar:# rm -r 2015-04-26 rm: cannot remove '2015-04-26/root/.gvfs': Operation not permitted
Can't delete, unmount, rename, lsof+fuser both come up empty.
Any ideas on how to remove these things?
Thanks!
This is a more appropriate question for our support mailing list support@lists.opensuse.org Cheers -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B
Hi Mr/Mrs Walsh, Am 29.01.2021 um 02:38 schrieb L A Walsh:
Ishtar:# rm -r 2015-04-26 rm: cannot remove '2015-04-26/root/.gvfs': Operation not permitted
Can't delete, unmount, rename, lsof+fuser both come up empty.
Any ideas on how to remove these things?
Thanks!
Possible causes and options: - the item is still held by a privileged process with a write log or - find the process (lsof), cut off, release, delete, unleash - the filesystem uses attributes, namely immutable or append-only. Kill these with chattr. - the filesystem turned ro as a whole (check /proc/mounts) - in this case, it's most likely due to a hardware (disk) or connection failure (nfs, iscsi) and you are out of luck until reboot -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
On 2021/01/28 22:23, Ralf Lang wrote:
rm: cannot remove '2015-04-26/root/.gvfs': Operation not permitted
Any ideas on how to remove these things?
- the filesystem uses attributes, namely immutable or append-only. Kill these with chattr.
Had 7 copies of an empty dir named .gvfs -- all owned by root, which makes some sense, in that only root can set that bit. ...I seem to remember it appearing around the time a user-file system (?gnome? appeared)...but they were still around even though I don't think that file system still is. I hadn't even thought of that reason, thought it was still some i/o issue. Thanks for reminder! -linda
On 29.01.21 20:55, L A Walsh wrote:
Had 7 copies of an empty dir named .gvfs -- all owned by root, which makes some sense, in that only root can set that bit. ...I seem to remember it appearing around the time a user-file system (?gnome? appeared)...but they were still around even though I don't think that file system still is.
I hadn't even thought of that reason, thought it was still some i/o issue.
FUSE mounted filesystems are usually/often not readable by root, but only by the "owning" user. Just as a hint for future debugging ;-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman
participants (5)
-
Carlos E. R.
-
L A Walsh
-
Ralf Lang
-
Simon Lees
-
Stefan Seyfried