【已解决】回收站文件删除不了
Tofloor
poster avatar
herdde
deepin
2017-07-06 15:12
Author
本帖最后由 herdde 于 2017-7-6 10:53 编辑

如图            
Reply Favorite View the author
All Replies
avatar
herdde
deepin
2017-07-06 15:14
#1
本帖最后由 herdde 于 2017-7-6 10:54 编辑

为什么录屏不显示鼠标呢?@jingle
Reply View the author
avatar
jingle
deepin
2017-07-06 16:41
#2
那你的这个权限是?
Reply View the author
avatar
duanyao
deepin
2017-07-06 17:24
#3
如果回收站中的文件夹里含有 root 权限的子文件夹和文件,就无法清空了。这种情况文件管理器是不是应该自动用 sudo 重试?
Reply View the author
avatar
moonlimb
deepin
2017-07-06 17:27
#4
我曾经遇到过,命令行下可以清除。
Reply View the author
avatar
herdde
deepin
2017-07-06 17:51
#5
https://bbs.deepin.org/post/142100
那你的这个权限是?

不知道                 
Reply View the author
avatar
duanyao
deepin
2017-07-06 18:04
#6

在文件夹上右键->复制,在终端里输入 ls -laR "<右键粘贴到此处>"。
Reply View the author
avatar
herdde
deepin
2017-07-06 18:32
#7
https://bbs.deepin.org/post/142100
在文件夹上右键->复制,在终端里输入 ls -laR ""。

her@her-PC:~$ ls -laR "/home/her/.local/share/Trash/files/New Folder"
/home/her/.local/share/Trash/files/New Folder:
total 12
drwxr-xr-x 3 her her 4096 Jul  6 07:05 .
drwxr-xr-x 4 her her 4096 Jul  6 07:06 ..
dr-xr-xr-x 5 her her 4096 Jun 12 13:58 PhoenixOSInstaller_v2.0.7.150.64bit

/home/her/.local/share/Trash/files/New Folder/PhoenixOSInstaller_v2.0.7.150.64bit:
total 844664
dr-xr-xr-x 5 her her      4096 Jun 12 13:58 .
drwxr-xr-x 3 her her      4096 Jul  6 07:05 ..
drwxr-xr-x 2 her her      4096 Jul  6 07:05 .disk
drwxr-xr-x 2 her her      4096 Jul  6 07:05 efi
-rw-r--r-- 1 her her   4341959 Jun  1 20:26 initrd.img
-rw-r--r-- 1 her her   5199421 Jun  1 20:18 install.img
drwxr-xr-x 2 her her      4096 Jul  6 07:05 isolinux
-rw-r--r-- 1 her her   6164640 Jun  1 20:26 kernel
-rw-r--r-- 1 her her   1748283 Jun  1 20:18 ramdisk.img
-r-xr-xr-x 1 her her 847441920 Jun 12 13:55 system.sfs
-r--r--r-- 1 her her      1760 Jun  1 20:26 TRANS.TBL

/home/her/.local/share/Trash/files/New Folder/PhoenixOSInstaller_v2.0.7.150.64bit/.disk:
total 8
drwxr-xr-x 2 her her 4096 Jul  6 07:05 .
dr-xr-xr-x 5 her her 4096 Jun 12 13:58 ..

/home/her/.local/share/Trash/files/New Folder/PhoenixOSInstaller_v2.0.7.150.64bit/efi:
total 8
drwxr-xr-x 2 her her 4096 Jul  6 07:05 .
dr-xr-xr-x 5 her her 4096 Jun 12 13:58 ..

/home/her/.local/share/Trash/files/New Folder/PhoenixOSInstaller_v2.0.7.150.64bit/isolinux:
total 8
drwxr-xr-x 2 her her 4096 Jul  6 07:05 .
dr-xr-xr-x 5 her her 4096 Jun 12 13:58 ..
her@her-PC:~$

Reply View the author
avatar
herdde
deepin
2017-07-06 18:41
#8
her@her-PC:~$ ls -laR "/home/her/.local/share/Trash/files/unlocker208"
/home/her/.local/share/Trash/files/unlocker208:
total 16
drwxr-xr-x 4 her  her  4096 Jul  2 15:05 .
drwxr-xr-x 4 her  her  4096 Jul  6 07:06 ..
drwxr-xr-x 2 root root 4096 Jun 17 00:07 backup
drwxr-xr-x 2 root root 4096 Jun 17 00:08 tools

/home/her/.local/share/Trash/files/unlocker208/backup:
total 80184
drwxr-xr-x 2 root root     4096 Jun 17 00:07 .
drwxr-xr-x 4 her  her      4096 Jul  2 15:05 ..
-rw-r--r-- 1 root root  7912376 Jun 17 00:07 libvmwarebase.so
-rwxr-xr-x 1 root root 21379624 Jun 17 00:07 vmware-vmx
-rwxr-xr-x 1 root root 28200304 Jun 17 00:07 vmware-vmx-debug
-rwxr-xr-x 1 root root 24604424 Jun 17 00:07 vmware-vmx-stats

/home/her/.local/share/Trash/files/unlocker208/tools:
total 3472
drwxr-xr-x 2 root root    4096 Jun 17 00:08 .
drwxr-xr-x 4 her  her     4096 Jul  2 15:05 ..
-rw-r--r-- 1 root root 3540992 Jun 17 00:08 darwin.iso
-rw-r--r-- 1 root root     256 Jun 17 00:08 darwin.iso.sig
her@her-PC:~$
Reply View the author
avatar
duanyao
deepin
2017-07-06 18:47
#9
本帖最后由 duanyao 于 2017-7-6 10:49 编辑
https://bbs.deepin.org/post/142100
her@her-PC:~$ ls -laR "/home/her/.local/share/Trash/files/New Folder"
/home/her/.local/share/Trash ...

因为有些子文件夹你自己也没有写权限,而且非空,所以无法删除,例如:

dr-xr-xr-x 5 her her 4096 Jun 12 13:58 PhoenixOSInstaller_v2.0.7.150.64bit

另一些属于 root 用户,所以也无法删除,例如:

drwxr-xr-x 2 root root 4096 Jun 17 00:07 backup

要强制删除可以 sudo rm -Rfv "/home/her/.local/share/Trash/files/New Folder" 。
不过这最好改一下文件管理器吧?https://bbs.deepin.org/user/48640
Reply View the author
avatar
herdde
deepin
2017-07-06 18:51
#10
https://bbs.deepin.org/post/142100
因为有些子文件夹你自己也没有写权限,而且非空,所以无法删除,例如:

dr-xr-xr-x 5 her her 4096 Jun 1 ...

好了               
Reply View the author
avatar
jingle
deepin
2017-07-06 19:39
#11
https://bbs.deepin.org/post/142100
为什么录屏不显示鼠标呢?@jingle

https://bbs.deepin.org/user/33235
Reply View the author
avatar
wangyong
deepin
2017-07-12 07:33
#12
https://bbs.deepin.org/post/142100
为什么录屏不显示鼠标呢?@jingle

一直都可以录制光标指针呢
Reply View the author
avatar
herdde
deepin
2017-07-12 15:00
#13
本帖最后由 herdde 于 2017-7-12 07:09 编辑
https://bbs.deepin.org/post/142100
一直都可以录制光标指针呢

上面的图里没有鼠标,录制点击右键菜单时有时候鼠标就没了
Reply View the author