[opensuse] Mysterious un-deletable file : ?gvfs in /run/user/1000
Hello List , - in /run/user/1000 there is a file " ?gvfs " - the command : ls -la shows :: d????????? ? ? ? ? ? gvfs .................. - is this benevolent , or , malevolent , &, how can it be Deleted ?? ......... thanks regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Fri, 8 May 2015 10:42, ellanios82 <ellanios82@...> wrote:
Hello List ,
- in /run/user/1000 there is a file " ?gvfs "
- the command : ls -la shows ::
d????????? ? ? ? ? ? gvfs
..................
- is this benevolent , or , malevolent , &, how can it be Deleted ??
First, it is a benevolent directory. Second, background: "gvfs" is "VFS functionality for GLib" and is used by GNOME, and XFCE, etc to handle plugin filesystems. Like USB-Sticks, Cameras, FUSE, Trash, etc. Some times it does not set the rights for its run-time directory correctly. "ls -la /run/user/1000/" should show the directory itself as owned by the $USER, group "users" and rights "drwx------". If that is OK, use "chmod 0500 /run/user/1000/gvfs", that should correct the situation (in case of errors, use sudo with the command). now "ls -la /run/user/1000/gvfs/" should show something like this, replace "test" with your username, the timestamps will differ: total 0 dr-x------ 2 test users 0 01:01 ./ drwx------ 6 test users 120 10:57 ../ - Yamaban. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/08/2015 01:29 PM, Yamaban wrote:
On Fri, 8 May 2015 10:42, ellanios82 <ellanios82@...> wrote:
Hello List ,
- in /run/user/1000 there is a file " ?gvfs "
- the command : ls -la shows ::
d????????? ? ? ? ? ? gvfs
..................
- is this benevolent , or , malevolent , &, how can it be Deleted ??
First, it is a benevolent directory.
Second, background: "gvfs" is "VFS functionality for GLib" and is used by GNOME, and XFCE, etc to handle plugin filesystems. Like USB-Sticks, Cameras, FUSE, Trash, etc.
Some times it does not set the rights for its run-time directory correctly.
"ls -la /run/user/1000/"
should show the directory itself as owned by the $USER, group "users" and rights "drwx------".
If that is OK, use "chmod 0500 /run/user/1000/gvfs", that should correct the situation (in case of errors, use sudo with the command).
now "ls -la /run/user/1000/gvfs/" should show something like this, replace "test" with your username, the timestamps will differ:
total 0 dr-x------ 2 test users 0 01:01 ./ drwx------ 6 test users 120 10:57 ../
- much appreciated : thank you .............. as root , was having permission denied when trying to chmod /run/user/1000/gvfs/ , but then tried :: umount /run/user/1000/gvfs . . . the "umount" succeeded . after-which it became possible to chmod in accordance with your instructions ................ next, i tried to re-mount /run/user/1000/gvfs , however this was not possible and , the clip-board ceased to function. ................. thus, finally i re-booted PC In consequence , /run/user/1000/gvfs has again become : /run/user/1000/?gvfs the which is seemingly an invisible-fantom_ghost directory ...................... thus , i conclude this is a feature ............... and , thank you for your help regards ellan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-05-08 13:56, ellanios82 wrote:
as root , was having permission denied when trying to chmod /run/user/1000/gvfs/
What for?
, but then tried ::
umount /run/user/1000/gvfs
. . . the "umount" succeeded . after-which it became possible to chmod in accordance with your instructions
What for? That entire tree is volatile, it exists in RAM, not disk.
thus , i conclude this is a feature
Of course it is. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVMqg0ACgkQja8UbcUWM1z/MAD+LcLd5VQXWBsHCwI0hYbfCUCc 3IaXxxUVZUlpzpgd+qYA/3LiSp0Ztqvd6D7UgPFFzHEK1YewL+cXXTpzvBbduwyA =BTzs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/08/2015 03:20 PM, Carlos E. R. wrote:
as root , was having permission denied when trying to chmod /run/user/1000/gvfs/ What for? And ::
, but then tried :: umount /run/user/1000/gvfs . . . the "umount" succeeded . after-which it became possible to chmod in accordance with your instructions
What for?
__________________ - In answer to the two "What fors??" _________________________________ Because , Yamaban On 05/08/2015 at 01:29 PM, was so kind as to make a couple of suggestions :: - the "What fors??" show what happened when testing those suggestions. ........................ regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-05-08 19:27, ellanios82 wrote:
- the "What fors??" show what happened when testing those suggestions.
That things break. What is the purpose of attempting to change the permissions of those files, delete them, or what do you want to achieve with that? - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVNEAIACgkQja8UbcUWM1wi6QD+M/3cwaPLnAF6k26Pn9qQYirQ F4OGfwGq69qHaJbZ4LoA/jPdzLbbd8d4SPpgUSDiw+0rqv4qtvOHfalgtncKJSTs =frD0 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/08/2015 10:35 PM, Carlos E. R. wrote:
What is the purpose of attempting to change the permissions of those files, delete them, or what do you want to achieve with that?
you do not recall :: i asked :- - is this benevolent , or , malevolent , &, how can it be Deleted ?? { if malevolent one would wish to delete it } .............. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-05-08 22:49, ellanios82 wrote:
On 05/08/2015 10:35 PM, Carlos E. R. wrote:
What is the purpose of attempting to change the permissions of those files, delete them, or what do you want to achieve with that?
you do not recall :: i asked :-
- is this benevolent , or , malevolent , &, how can it be Deleted ?? { if malevolent one would wish to delete it }
Ah. So that was before knowing that it is a feature. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVNI50ACgkQja8UbcUWM1xZqAD7BGrPRarMJIveYVlPcuuINVE5 HQ2nJnrCzx5gOD1qlRMA/3Zz6vRg5xfrLcCcBGP4sOdvuy30xUoJxWwURa1UREG/ =yjBI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/08/2015 06:29 AM, Yamaban wrote:
[ ... Snip ...]
First, it is a benevolent directory.
Second, background: "gvfs" is "VFS functionality for GLib" and is used by GNOME, and XFCE, etc to handle plugin filesystems. Like USB-Sticks, Cameras, FUSE, Trash, etc.
Sounds reasonable
Some times it does not set the rights for its run-time directory correctly.
"ls -la /run/user/1000/"
should show the directory itself as owned by the $USER, group "users" and rights "drwx------".
# ls -la /run/user/501 ls: cannot access /run/user/501/gvfs: Permission denied total 0 drwx------ 7 anton users 160 May 7 11:25 . drwxr-xr-x 4 root root 80 May 3 08:07 .. drwx------ 2 anton users 60 May 3 08:07 dconf d????????? ? ? ? ? ? gvfs drwx------ 2 anton users 1960 May 8 07:49 ksocket-anton drwx------ 2 anton users 80 May 7 10:03 pulse drwxr-xr-x 2 anton users 60 May 3 08:07 systemd lrwxrwxrwx 1 root root 17 May 7 09:59 X11-display -> /tmp/.X11-unix/X0 WTF?? Is that what ellanois reported/
If that is OK, use "chmod 0500 /run/user/1000/gvfs", that should correct the situation (in case of errors, use sudo with the command).
# chmod 0500 /run/user/501/gvfs chmod: cannot access â/run/user/501/gvfsâ: Permission denied
now "ls -la /run/user/1000/gvfs/" should show something like this, replace "test" with your username, the timestamps will differ:
total 0 dr-x------ 2 test users 0 01:01 ./ drwx------ 6 test users 120 10:57 ../
# ls -la /run/user/501/gvfs/ ls: cannot access /run/user/501/gvfs/: Permission denied I plug in a USB device, check in /var/log/messages, check its there with blkid, mount it, verify its contents, but still the gvfs node entry is garbage. Thank you ellanois for bringing this up :-) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/05/15 09:42, ellanios82 wrote:
Hello List ,
- in /run/user/1000 there is a file " ?gvfs "
- the command : ls -la shows ::
d????????? ? ? ? ? ? gvfs
Putting all the answers together: This is a *virtual* directory/file where removable media gets mounted - if there's no such media then how can it have any ownership or access information? When there is media mounted, surely then it inherits or generated the relevant attributes.
..................
- is this benevolent , or , malevolent , &, how can it be Deleted ??
......... thanks regards
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-05-08 14:26, Dylan wrote:
Putting all the answers together: This is a *virtual* directory/file where removable media gets mounted - if there's no such media then how can it have any ownership or access information? When there is media mounted, surely then it inherits or generated the relevant attributes.
No, media is not mounted there. It is rather some auxiliary (virtual) files used for mounts and things. Just leave those directories alone, forget them. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlVMrNwACgkQja8UbcUWM1xmQwEAjNesjN16qIAiRAYgRPkK/73S 8ll6C/jv9ojdd7UZC7cA/3PjeSe62sZnbYI15Tgg5loukB+zaGWVYwBG5ZqGjkXy =jg0G -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/08/2015 08:26 AM, Dylan wrote:
This is a *virtual* directory/file where removable media gets mounted - if there's no such media then how can it have any ownership or access information? When there is media mounted, surely then it inherits or generated the relevant attributes.
Well I added the removable media and that's not what happened. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Anton Aylward
-
Carlos E. R.
-
Dylan
-
ellanios82
-
Yamaban