du gives error : "du: cannot access `./.gvfs': Permission denied"du: cannot access `.
Hi,
I am using Ubuntu 9.04. I want to calculate the disk usage of users on a system - those in /home/. For this I used the du command. As root user, when I type # du /home/mihir an error message "du: cannot access `./.gvfs': Permission denied", is displayed. Using the exclude option didn't help. # cd /home/mihir # du --exclude=".\/.gvfs" I cannot understand the "Permission denied" message because I key in these command as root. Need some help, please. Thank You |
The ~/.gvfs directory is a FUSE (Filesystem in USErspace) filesystem fronted by Gnome.
See this for a quickie rundown of FUSE: http://fuse.sourceforge.net/ There is a decent discussion of the .gvfs and root access here: https://answers.launchpad.net/ubuntu/+question/34333 That references bug reports on both Gnome and Ubu, so it really is distribution agnostic. Hope that helps! |
What are the permissions of .gvfs?
Code:
ls -ld /home/mihir/.gvfs |
The output of ls -ld /home/mihir gives
. . dr-x------ 2 mihir mihir 0 2009-12-21 17:51 .gvfs/ . . |
Okay, now what about the output of "ls -ld /home/mihir/.gvfs"?
|
All times are GMT -5. The time now is 02:41 PM. |