trash-put在新的硬盘分区起效

trash-put在新的硬盘分区下不能起效,在项目上面有bug反映:html

Can't trash regular file #9
git

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.

在新的硬盘分区使用下面命令能够:github

#mkdir /new_disk/.Trash
#chmod +t /new_disk/.Trash
#chmod a+w /new_disk/.Trash
相关文章
相关标签/搜索