Bug#943744: caja: Cannot move file to Trash, do you want to delete immediately?
Hi,
Am Mittwoch, 30. Oktober 2019 schrieb scott092707@aol.com:
> Having done some investigating, I find that in 4 previous distros I have installed (all Lubuntu),
> none has had root:root as owners of ~/.local/share/Trash
>
> Since the contents of the files directory in that folder in my current Debian install are files
> that would originally have been in a sub-directory of a system directory, they would have had to
> be trashed from a sudo-invoked FM; it is at least possible that the trashing caused ownership
> to change to root:root.
>
> However...
>
> Most of the files I trash are in my personal directories, in my data partition, and would (should)
> end up in the /data/.Trash-1000 trash, which as you can see, is owned by me.
>
> Unless Caja was trying to trash the files by copying them from the data partition to the system
> partition trash folder, I cannot see how it had difficulty trashing them.
>
> Can anyone enlighten me?
IMHO, the ~/.local/share/Trash folder needs to be owned by you, not root. Using sudo can play tricks on you, if set up like e.g. in Ubuntu: if applications are use first time and that with sudo, new config files and dirs are created in the user home, nut owned by root.
On my Ubuntu systems I run a 'sudo chown $user:$user -Rfv ~' in regular intervals...
Mike
--
Gesendet von meinem Fairphone2 (powered by Sailfish OS).
Reply to: