2

tried the following commands from the link to regain access rights of my userfolder

You can verify this with:

$ find ~/ -mount ! -user $(whoami)

You can correct this with:

$ sudo chown -R $(whoami):$(whoami) ~/

And I get the results:

username@username:~$ find ~/ -mount ! -user $(whoami)
find: "/home/username/.gvfs": Keine Berechtigung
/home/username/.gvfs
username@username:~$ sudo chown -R $(whoami):$(whoami) ~/
chown: der Eigentümer von '/home/username/.gvfs' wird geändert: Die angeforderte Funktion ist nicht implementiert

How can I resolve the issue?


Similar: Firefox only runs with `sudo`

Bogotrax
  • 173

1 Answers1

1
  1. find ~/ -mount ! -user $(whoami) requires `sudo so ...

    sudo find ~/ -mount ! -user $(whoami)
    
  2. .gvfs needs to be owned by root so the notice is correct. The command though should not be run like that. Please follow the other answer https://askubuntu.com/a/876022/15811 if you only have problems with firefox.


Regarding 1:

$ find . -mount ! -user $USER
./.gvfs
find: `./.gvfs': Permission denied
./.config/enchant
find: `./.config/enchant': Permission denied
./.dbus
find: `./.dbus': Permission denied
./.cache/dconf
find: `./.cache/dconf': Permission denied

~$ sudo find . -mount ! -user $USER
./.gvfs
./.config/enchant
./.config/enchant/en_US.exc
./.config/enchant/en_US.dic
./.dbus
./.dbus/session-bus
./.dbus/session-bus/b9a307ab19d1c2845bf0bf9854f87478-0
./.cache/dconf

This is normal and should not be changed. If you see any other directories (and in your case that would be .mozilla you can change the owner and user with the 2nd command but I would then not do it on your home but the actual directory).

Rinzwind
  • 309,379