how change attributes or remove files with the e attribute set
I have a bunch of files on a usb stick that have just the e attribute set. So I can't chattr them, rm -f fails and chmod fails, all whether as user or root. How can I get rid of the e attribute? Failing that, how can I get rid of the files?
|
Well, according to this, the 'E' attr cannot be set or reset
http://linux.die.net/man/1/chattr Start by listing the files info Code:
lsattr * Obviously ensure the USB is mounted rw. |
Quote:
Code:
g cd ~/LinuxUse Code:
g cd "/media/NEW VOLUME/LinuxUse" |
I got rid of the ones on the usb stick with cfdisk, but that really wasn't the preferred option for those on the hd.
So I ran ls -l on each subdirectory and found 2 items whose permissions were all set to ????????? Thunar deleted each of those taken individually, and once they were gone the other items became deletable too. However, I've not done that. Even though they have this mysterious e attribute still set, they're fully usable and updateable. The entire problem centered in those 2 items with ??????? permissions, and their presence made the entire set undeleteable. |
All times are GMT -5. The time now is 02:59 AM. |