我无法从垃圾箱中删除 2 个 png 文件。但是我可以删除其他文件。当我单击垃圾箱中的清空时,没有任何反应,当我选择两个文件并单击从垃圾箱中删除时,它显示
Error while deleting
You do not have sufficient permissions to the file xxx.png
Failed to delete the item from the trash.
我尝试了该命令sudo rm -rf ~/.local/share/Trash/*
,但没有结果。
当我去sudo nautilus
倒垃圾时,它显示This location could not be displayed
Sorry, could not display all the contents of "trash:///": Operation not supported
命令df $(find . -type f)
( under ~/.local/share/Trash/
) 给出
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3975532 0 3975532 0% /dev
tmpfs 800940 2076 798864 1% /run
/dev/sdb4 101265424 27146484 68931920 29% /
tmpfs 4004696 804408 3200288 21% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 4004696 0 4004696 0% /sys/fs/cgroup
/dev/loop0 9344 9344 0 100% /snap/canonical-livepatch/95
/dev/loop1 100224 100224 0 100% /snap/core/10444
/dev/loop2 100224 100224 0 100% /snap/core/10577
/dev/loop4 166784 166784 0 100% /snap/gnome-3-28-1804/145
/dev/loop3 56832 56832 0 100% /snap/core18/1944
/dev/loop5 56704 56704 0 100% /snap/core18/1932
/dev/loop6 238976 238976 0 100% /snap/gimp/322
/dev/loop7 246656 246656 0 100% /snap/gnome-3-34-1804/24
/dev/loop8 267008 267008 0 100% /snap/kde-frameworks-5-core18/32
/dev/loop9 66432 66432 0 100% /snap/gtk-common-themes/1514
/dev/loop10 223232 223232 0 100% /snap/gnome-3-34-1804/60
/dev/loop11 31872 31872 0 100% /snap/snapd/10492
/dev/loop12 65920 65920 0 100% /snap/gtk-common-themes/1513
/dev/loop13 52352 52352 0 100% /snap/snap-store/518
/dev/loop14 36736 36736 0 100% /snap/synfigstudio/1
/dev/loop15 653824 653824 0 100% /snap/whatsdesk/20
/dev/loop16 52352 52352 0 100% /snap/snap-store/498
/dev/loop17 31872 31872 0 100% /snap/snapd/10238
/dev/sdb1 97280 33330 63950 35% /boot/efi
tmpfs 800936 104 800832 1% /run/user/1000
/dev/sda4 325582844 1874124 323708720 1% /media/cheran/New Volume
并且命令ls -li $(find . -type f)
给出
total 12
3411035 drwx------ 2 cheran cheran 4096 Jan 3 14:48 expunged
3410985 drwx------ 2 cheran cheran 4096 Jan 3 14:48 files
3410617 drwx------ 2 cheran cheran 4096 Jan 3 14:48 info
请帮我删除这些文件。
答案1
你的垃圾您的/home
(设备/dev/sdb4
:)目录目前是空的。
但是,你可能删除了/dev/sda4
似乎已挂载在 的设备下的文件/media/cheran/New Volume
。要检查这些文件,请运行:
find /media/cheran/New\ Volume/.Trash-* -type f
如果您确定这些是要删除的文件,请运行:
rm $(find /media/cheran/New\ Volume/.Trash-* -type f)
注意:如果您没有权限,则可能需要sudo
在前面添加。rm