LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-19-2009, 07:26 AM   #1
MihirSahasrabudhe
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Rep: Reputation: 0
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
 
Old 12-19-2009, 09:25 AM   #2
PresGas
Member
 
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Blog Entries: 5

Rep: Reputation: 18
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!
 
1 members found this post helpful.
Old 12-19-2009, 09:27 AM   #3
eco
Member
 
Registered: May 2006
Location: BE
Distribution: Debian/Gentoo
Posts: 412

Rep: Reputation: 48
What are the permissions of .gvfs?

Code:
ls -ld /home/mihir/.gvfs
ls -ld /home/mihir
Might get us started
 
Old 12-21-2009, 06:29 AM   #4
MihirSahasrabudhe
LQ Newbie
 
Registered: Dec 2009
Posts: 5

Original Poster
Rep: Reputation: 0
The output of ls -ld /home/mihir gives

.
.
dr-x------ 2 mihir mihir 0 2009-12-21 17:51 .gvfs/
.
.
 
Old 12-29-2009, 11:10 AM   #5
PresGas
Member
 
Registered: Jul 2008
Location: Bloomington, IN
Distribution: Ubuntu/Debian
Posts: 51
Blog Entries: 5

Rep: Reputation: 18
Okay, now what about the output of "ls -ld /home/mihir/.gvfs"?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba + CUPS "Access denied, unable to connect" error lirik Linux - Networking 10 10-13-2011 01:09 PM
"access denied, leeching forbidden, you are only allow to seed" error messege rohanvare Linux - Newbie 2 04-09-2009 08:30 AM
"Access denied" error on Samba mount sambauser Linux - Server 2 10-16-2007 09:45 AM
Can't access mounted NFS directory: "permission denied" SparceMatrix Linux - General 6 03-08-2003 01:36 PM
Email Error - "Recipient address rejected: Relay access denied" ripcord Linux - Newbie 1 10-31-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration