Mermouy/bashscripts

Wrong trash message, when there are no permissions to remove the file

GoogleCodeExporter opened this issue · 2 comments

Create any file with root, try to trash it under normal user. The message reads:
mkdir: cannot create directory ‘//.Trash-vasya’: Permission denied
mkdir: cannot create directory ‘//.Trash-vasya’: Permission denied
cannot create local trashcan at /home/vasya/.local/share/Trash

Note the duplicated first message. The last message is clearly wrong, as the 
local trashcan exists.

Original issue reported on code.google.com by vasyabel...@gmail.com on 28 Jul 2012 at 8:33

Sorry, forgot to mention the versions:
Plugin: 0.6.2, trash AUR package: 0.3.4, SpaceFM : 0.7.10, ArchLinux 64b

Original comment by vasyabel...@gmail.com on 28 Jul 2012 at 8:36

fixed in trash 0.3.5

Original comment by tri...@gmail.com on 3 Aug 2012 at 12:56

  • Changed state: Fixed