$HOME/.gvfs cannot be deleted after user is deleted

Bug #224603 reported by Andrew Simpson
2
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
New
Low
Ubuntu Desktop Bugs

Bug Description

In Ubuntu Hardy Heron, if a new user is created using the System->Administration->Users and Groups dialogue, the gvfs-fuse folder /home/newuser/.gvfs is created.

This folder cannot be accessed by any other user, including the root user. This means the new user's folder cannot be deleted once the user is deleted:

Listing folder as root user (for my normal user) outputs as below:

adpsimpson@adpsimpson-laptop:~$ sudo ls -la /home/adpsimpson | grep gvfs
ls: cannot access .gvfs: Permission denied
?????????? ? ? ? ? ? .gvfs

Listing for 'mount' given below:
adpsimpson@adpsimpson-laptop:~$ mount | grep gvfs
gvfs-fuse-daemon on /home/adpsimpson/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=adpsimpson)

Even after the user is deleted, the entry in 'mount' remains. This makes it hard to completely delete a user from a system.

Although there are other bugs relating to gvfs in launchpad, none seem to cover the inability to delete this folder when deleting a user from the system.

Revision history for this message
Andrew Simpson (adpsimpson-gmail) wrote :

I should have said this is only in Ubuntu Hardy Heron (8.04) - I haven't seen it in any previous version of Ubuntu.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, you can't delete the directory because it's mounted, you can use fusermount -u .gvfs on it to unmount it and then remove the directory, that's not a bug

Changed in gvfs:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Invalid
Revision history for this message
Andrew Simpson (adpsimpson-gmail) wrote :

I've changed this back to being a new bug - there is something misbehaving, even if it is not the actual deleting of the directory.

The folder ~/.gvfs should not remain mounted when the user is fully logged out - for it to remain mounted is confusing and bad for usability.

Changed in gvfs:
status: Invalid → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue is known already, read bug #212789

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.