thinclient_drives

         ubuntu上安装xrdp搭建远程桌面,后面远程桌面是可以了,但是用户目录下生出了一个thinclient_drives文件夹,无论是不是root都不能删除,如果你有强迫症,你就感觉不舒服,一定要删除,下面介绍如何删除。

具体表现如下:

root@i:~# ll 
ls: cannot access 'thinclient_drives': Transport endpoint is not connected
total 72
drwx------  7 root root  4096 Jun  6 09:39 ./
drwxr-xr-x 23 root root  4096 Jun  6 10:16 ../
-rw-------  1 root root   314 Jun  6 09:39 .ICEauthority
-rw-------  1 root root    51 Jun  6 09:39 .Xauthority
-rw-r--r--  1 root root  3106 Apr  9  2018 .bashrc
drwx------  2 root root  4096 Jan 29  2018 .cache/
drwx------  3 root root  4096 Jan 29  2018 .gnupg/
drwx------  3 root root  4096 Jun  6 09:39 .local/
drwxrwxrwt  2 root root  4096 Jun  6 09:39 .pcsc11/
-rw-r--r--  1 root root   148 Aug 17  2015 .profile
-rw-------  1 root root 10057 Jan 29  2018 .viminfo
-rw-r--r--  1 root root 14130 Jun  6 09:39 .xorgxrdp.11.log
-rw-------  1 root root  1554 Jun  6 09:39 .xsession-errors
d?????????  ? ?    ?        ?            ? thinclient_drives/
       在网上也找了一些删除的方法,比如rm -rf .thinclient_drives,有的又说要改权限,可问题是他的所有者、组用户、读写执行都是?号,chmod也不好使啊 :

root@i:~# chmod 777 -R thinclient_drives
chmod: cannot access 'thinclient_drives': Transport endpoint is not connected
root@i:~# ls
thinclient_drives
root@i:~# rm -rf .thinclient_drives
root@i:~# ls
thinclient_drives

    于是我就了解了一下,采用下面的姿势删除:

root@i:~# umount thinclient_drives
root@i:~# ls
thinclient_drives
root@i:~# rm thinclient_drives -rf 
root@i:~# ls

      这个不删除有时候也很难受,比如你要打包整个用户目录,打包到它的时候会告诉你权限不允许,例如:

tar: thinclient_drives: Cannot stat: Permission denied
tar: Exiting with failure status due to previous errors
      删除后感觉心情舒畅多了。如果你也遇到这样的情况,可以作为一个参考!

  • 4
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值