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