背景
U 盘里面有个目录不能正常访问,右键删除,也不能删除。用 wireshark
抓包后发现是没有R操作权限。
解决方法
进入到 U 盘根目录,空白的地方鼠标右键,选择 属性
,在弹出框里面选择 工具
,然后选择 错误检查
。
过一小段时间,就会把 U 盘里面有问题的文件,包括不能浏览,删除的文件,会自动删除
掉。如果这个文件你是需要的,而且没有备份的话,慎用这个操作方式。
小结
网上还有一种方式用的是 diskpart
可以修复这个问题,不过没有试过,请自己验证。下面是另外一种方法的处理连接,可以参考下。
How to enable and disable write-protection on a USB flash drive
https://www.computerhope.com/issues/ch001617.htm