trash-put在新的硬盘分区下不能起效,在项目上面有bug反映:
The .Trash-$uid and the .Trash directories should be created in the volume,
usually this means /media/disk/.Trash or /media/disk/.Trash-123.
Moreover the /media/disk/.Trash directory needs the sticky bit set.
在新的硬盘分区使用下面命令可以:
#mkdir /new_disk/.Trash
#chmod +t /new_disk/.Trash
#chmod a+w /new_disk/.Trash