今天,当我尝试使用WinRAR来反编译.apk文件时,出现了错误,并且解压缩终止了。此后,当我尝试删除文件夹时,即使我提供管理员权限,我也得到一个错误,我没有该文件夹的所有权。
尝试删除图像时,图像中的文件和文件的父文件夹均出现错误。
然后我尝试通过命令在管理员模式下使用cmd进行相同的操作:
rm -d测试
输出:: rm:无法取消链接“ test”:不是所有者
我还尝试了以下命令来递归删除文件夹中的文件:
rm -r测试
output:rm: WARNING: Circular directory structure. This almost certainly means that you have a corrupted file system. NOTIFY YOUR SYSTEM MANAGER. The following two directories have the same inode number:
test `test/ '
So I tried the following command to delete recursive file structure,
rm -rfd test
output: rm: cannot unlink `test': Not owner
All the above methods I used are either from StackOverflow or Microsoft QnA page but nothing seems to work.
I tried all this in safe mode also. But still, I get the same error. Twice I also got an error with an error code of 0x80070091
I already tried taking ownership of folder using takeown command.
takeown /f test /r
Output:
SUCCESS: The file (or folder): "C:\Users\mandar\Desktop\test" now owned by user "MANDAR_SADYE\mandar".
SUCCESS: The file (or folder): "C:\Users\mandar\Desktop\test\ " now owned by user "MANDAR_SADYE\mandar".
I tried all the possible solutions I could find but nothing seems to work. If anyone has any suggestion regarding this issue then please post it as answer or comment as you see fit. Thank you in advance.
Well after many trial and error I found the way to delete it. I found a solution before I could try harrymc's solution, so wasn't able to confirm if his solution works. The way I did it isn't straightforward so I highly recommend trying his solution first and let me know if it works so I can mark it as an acceptable answer.
So the method I followed is to open the folder in the different file system.
所以我想问题出在Windows NTFS文件系统上。如您所见,除了第三种方法之外,您需要以可引导或虚拟机的形式来寻找辅助操作系统,这是大多数人所没有的。因此,请尝试第三个解决方案。如果不起作用,请尝试使用harrymc的解决方案。而且,即使那不起作用,也可以安装虚拟机或制作可启动笔式驱动器,然后尝试将其删除。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句