Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I am using Fedora 9. I removed the user using userdel -r command. The user is removed, but the home directory still remains. When I tried to remove the home directory (rm -rf /home/user/), I get the following message:

rm: cannot remove '/home/user/.gvfs': Permission denied

This happens on random occasions. Which scenario does this occur? Why is this occurring?

share|improve this question

closed as off topic by James Sep 1 '12 at 12:44

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

I'm sorry, this is Ask Ubuntu, not ask fedora. I recommend asking on [Unix and Linux](HTTP://, or perhaps – James Sep 1 '12 at 12:42
The same program is available for Ubuntu and installed by default. It very well can happen that an Ubuntu user can come up with this question. "He said Jehova" – LiveWireBT Sep 1 '12 at 12:55

1 Answer 1

Fedora 9 is not supported anymore, Fedora 16 and 17 are. However this is AskUbuntu Stack Exchange for the Debian-based Ubuntu distribution which recommends using Debians deluser command.

To fix your issue: The .gvfs folder is usually not writable, try adding write permissions and try to remove the folder again as root. If that does not help, mount the corresponding file system in anohter system like a Live CD and try to remove the folder there.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.