My co-worker sent me a theme in a tar.gz file and I tried unzipping it using the archive manager GUI as I usually do for any kind of zipped file. However, it produced a corrupt file/directory that I can no longer delete.
Note that the working directory is in a directory I created in my home folder.
ls -l produces
??????????? ? ? ? ? ? Alt_Elementary_Dark
Right click properties menu says that the permissions could not be determined, and all info is 'unknown' (like size,accessed,modified)
Type is said to be 'Binary (application/octet-stream)', though it should have been a directory.
What I've done to try and remove:
$ sudo rm -rfv Alt_Elementary_Dark
rm: cannot remove ‘Alt_Elementary_Dark’: Permission denied
$ sudo rmdir Alt_Elementary_Dark
rmdir: failed to remove ‘Alt_Elementary_Dark’: Permission denied
$ sudo touch Alt_Elementary_Dark
touch: cannot touch ‘Alt_Elementary_Dark’: Permission denied
$ mv Alt_Elementary_Dark renamed_to_remove
mv: cannot stat ‘Alt_Elementary_Dark’: Permission denied
$ sudo mv Alt_Elementary_Dark renamed_to_remove
mv: failed to access ‘renamed_to_remove’: Permission denied
$ sudo ls -ld Alt_Elementary_Dark
ls: cannot access Alt_Elementary_Dark: Permission denied
Is there some other way I can remove this corrupt, unknown directory?
touch
on the file:touch Alt_Elementary_Dark
– Peschke Jun 06 '16 at 17:40fsck
on that filesyste. You also see output like above if there is filesystem corruption. – Zoredache Jun 06 '16 at 20:24lsattr
? – Andrew Henle Jun 06 '16 at 20:39ls -ld Alt_Elementary_Dark
show? – Andrew Henle Jun 06 '16 at 23:06