DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
On my Wheezy I have the following permissions for .gvfs in the user home directory:
Code:
root@wheezy:/home/user# ls -la
ls: cannot access .gvfs: Permission denied
total 9008
drwxr-xr-x 20 user user 4096 Jun 18 16:48 .
drwxr-xr-x 5 root root 4096 Jan 20 11:33 ..
drwx------ 3 user user 4096 Jan 22 11:21 .adobe
-rw------- 1 user user 283 Jun 18 16:48 .bash_history
-rw-r--r-- 1 user user 220 Jun 5 2013 .bash_logout
-rw-r--r-- 1 user user 3392 Jun 5 2013 .bashrc
drwxr-xr-x 7 user user 4096 Jun 16 16:47 .cache
drwxr-xr-x 17 user user 4096 May 26 13:45 .config
-rw-r--r-- 1 user user 12 Jan 30 10:30 date.txt
drwx------ 3 user user 4096 Jun 5 2013 .dbus
dr-xr-xr-x 3 user user 4096 Jun 18 16:39 Desktop
-rw-r--r-- 1 user user 35 Jun 18 16:48 .dmrc
drwxr-xr-x 2 user user 4096 Jun 5 2013 .fontconfig
drwx------ 3 user user 4096 Jan 15 15:39 .gconf
drwx------ 3 user user 4096 Jun 5 2013 .gftp
drwx------ 3 user user 4096 Jan 23 18:06 .gnome2
d????????? ? ? ? ? ? .gvfs
drwx------ 3 user user 4096 Jun 5 2013 .local
drwx------ 3 user user 4096 Jan 17 10:38 .macromedia
drwx------ 4 user user 4096 Jun 5 2013 .mozilla
-rw-r--r-- 1 user user 2533 Jun 5 2013 panel
-rw-r--r-- 1 user user 675 Jun 5 2013 .profile
-rw------- 1 user user 256 Jun 5 2013 .pulse-cookie
drwx------ 2 user user 4096 Jun 5 2013 .ssh
drwx------ 4 user user 4096 Jun 5 2013 .thumbnails
-rw------- 1 user user 710 May 26 16:06 .viminfo
drwxr-xr-x 2 user user 4096 Jan 15 15:28 .wicd
-rw------- 1 user user 53 Jun 18 16:48 .Xauthority
-rw------- 1 user user 2569 Jun 18 16:49 .xsession-errors
-rw------- 1 user user 4652 Jun 18 16:48 .xsession-errors.old
root@wheezy:/home/user# chown user:user .gvfs
chown: cannot access `.gvfs': Permission denied
If you put that error into Google, you would find MANY explanations and solutions...did you try that?
The 'error' is because the .gvfs is a fuse-filesystem mount point, and this is a well known and well documented 'bug'. You can 'fix' it by unmounting that mountpoint (IF it's mounted and IF you can...again, this is a BUG), and changing permissions:
If you put that error into Google, you would find MANY explanations and solutions...did you try that?
The 'error' is because the .gvfs is a fuse-filesystem mount point, and this is a well known and well documented 'bug'. You can 'fix' it by unmounting that mountpoint (IF it's mounted and IF you can...again, this is a BUG), and changing permissions:
I did "put that error into Google" and I did find MANY explanations and solutions including yours. That's why I logged in to answer your point. I did exactly as above. The find . -inum 554009 -exec rm{} \; returned null. rmdir .gvfs worked.
I do not tolerate mysterious directories on my file system that could be Linux bugs or perhaps an attempted invasion by a hacker. Anyway I am not a conspiracy theorist.
Last edited by VHS2DVD; 04-06-2015 at 06:31 AM.
Reason: close quotation mark omitted
We face the same challenge here with a Debian 10 Buster. For our challenge we needed to adapt the first command. Below are the three commands that we used.
Command 1
Code:
umount /path/to/gvfs
Notice in this command 1 above that we removed the dot before "gvfs".
Command 2
Code:
find . -inum 554009 -exec rm{} \;
This command 2 above removed the corrupted "gvfs" mount. Then somehow "magically" recreated a fresh new "gvfs" folder with the appropriate permissions. Joy In turn, the errors are gone from the logs.
Command 3
Code:
rm -rf .gvfs
We ran this 3rd command but it was not needed. As the ".gvfs" file was not there before or after any of the three commands above.
Last edited by Francewhoa; 03-20-2021 at 02:33 PM.
We face the same challenge here with a Debian 10 Buster. For our challenge we needed to adapt the first command. Below are the three commands that we used.
Command 1
Code:
umount /path/to/gvfs
Notice in this command 1 above that we removed the dot before "gvfs".
Command 2
Code:
find . -inum 554009 -exec rm{} \;
This command 2 above removed the corrupted "gvfs" mount. Then somehow "magically" recreated a fresh new "gvfs" folder with the appropriate permissions. Joy In turn, the errors are gone from the logs.
Command 3
Code:
rm -rf .gvfs
We ran this 3rd command but it was not needed. As the ".gvfs" file was not there before or after any of the three commands above.
So...the same three commands as posted seven years ago? Glad they still worked.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.