FS#54697 - [trash-cli] 0.17.1.14-2 Breaks Trash Over Mount Points
Attached to Project:
Community Packages
Opened by Martin Gallant (martyg) - Tuesday, 04 July 2017, 18:58 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 31 May 2018, 15:17 GMT
Opened by Martin Gallant (martyg) - Tuesday, 04 July 2017, 18:58 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 31 May 2018, 15:17 GMT
|
Details
Description: trash-cli 0.17.1.14-2 can no longer list
trashed files located on mount points.
I can reproduce at will with NFS. /home is mounted locally. This was working fine in the previous issue. $ df . /mnt/scratch/ Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/luks 201672704 49047072 145167856 26% /home fs:/scratch 515798016 140182528 354082816 29% /mnt/scratch $ mkdir td /mnt/scratch/td $ touch td/tf /mnt/scratch/td/tf $ trash-list $ trash td /mnt/scratch/td $ pacman -Q trash-cli trash-cli 0.17.1.14-2 $ trash-list 2017-07-04 11:43:30 /home/bugreport/td $ sudo pacman -U /mnt/scratch/Cache/pacman/pkg/trash-cli-0.17.1.14-1-any.pkg.tar.xz $ trash-list 2017-07-04 11:43:30 /home/bugreport/td 2017-07-04 11:43:30 /mnt/scratch/td 2017-07-04 11:43:30 /mnt/scratch/td $ tree .local/share/Trash/ /mnt/scratch/.Trash-1112 .local/share/Trash/ ├── files │ └── td │ └── tf └── info └── td.trashinfo /mnt/scratch/.Trash-1112 ├── files │ └── td │ └── tf └── info └── td.trashinfo 6 directories, 4 files |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 31 May 2018, 15:17 GMT
Reason for closing: Fixed
Additional comments about closing: trash-cli 0.17.1.14-3
Thursday, 31 May 2018, 15:17 GMT
Reason for closing: Fixed
Additional comments about closing: trash-cli 0.17.1.14-3
I recently moved the package from python2 to python3. This is most certainly an upstream bug, as upstream only recently moved to python3 too.
https://github.com/andreafrancia/trash-cli/issues/81
I've reported the issue:
https://github.com/andreafrancia/trash-cli/issues/95.