dimanche 30 novembre 2014

Indestructibles files on NTFS - cannot delete, not even by inode


I have a couple files on NTFS partition that seem to be indestructible - I tried all I know, and nothing:



.../test/db $ ls -la
total 37K
drwx------ 1 ondra ondra 32K Nov 30 23:54 .
drwx------ 1 ondra ondra 4.0K Nov 30 23:54 ..
-rw------- 2 ondra ondra 217 Oct 1 15:57 test.ipinfo
-rw------- 2 ondra ondra 364 Oct 1 15:57 test.sld_design_entry.sci

.../test/db $ rm test.ipinfo
rm: cannot remove ‘test.ipinfo’: No such file or directory

.../test/db $ ls . -q -1 -i --almost-all
950 test.ipinfo
909 test.sld_design_entry.sci

.../test/db $ find . -inum 950 -exec rm -i {} +;
rm: remove regular file ‘./test.ipinfo’? y
rm: cannot remove ‘./test.ipinfo’: No such file or directory


I tried umounting and remounting, same issue. How to get rid of them, short of wiping the partition?



Aucun commentaire:

Enregistrer un commentaire