On 07/12/2014 05:27 PM, Carlos E. R. wrote:
Hi,
[snip]
Looking via telnet, I see very strange permissions:
[root@Moria:/usb/lost+found]# ls -l ---xr-S--t 1 -2099230 16108097 36864 May 24 1985 #4047692 drw-rw---T 2 -2069826 10738976 40960 Jul 11 2036 #4048177 d-wxrw-r-x 2 11331111 3129454 45056 Aug 18 1969 #4049358 ---sr----T 1 82196912 10913612 49152 May 22 1990 #4049402 drwxr-s--T 2 -2128562 -1594398 45056 May 13 1970 #4065600 ---x--x-w- 1 79724563 23907546 40960 Dec 26 1974 #4066597 ---Sr---wt 1 14976932 -2813512 45056 Feb 9 1902 #4079810 --w-rwxr-x 1 -7658286 -2018176 49152 Feb 18 1971 #4083190 dr--r-s--T 2 85894704 85786717 36864 Sep 10 1948 #4083819 [root@Moria:/usb/lost+found]# rmdir \#4065600/ rmdir: `#4065600/': Operation not permitted [root@Moria:/usb/lost+found]#
I'm not familiar with those permissions. But I can not delete them. I can not change the permissions either:
[root@Moria:/usb/lost+found]# rmdir \#4065600/ rmdir: `#4065600/': Operation not permitted [root@Moria:/usb/lost+found]# chmod u+r+w \#4065600/ chmod: #4065600/: Operation not permitted [root@Moria:/usb/lost+found]# chown root \#4065600/ chown: #4065600/: Operation not permitted [root@Moria:/usb/lost+found]#
The current permissions are:
drwxr-s--T 2 -2128562 -1594398 45056 May 13 1970 #4065600
How can I delete those files?
What means the 'T' and 't' attributes?
Ideas?
BTDT. What you have is corrupted inodes. The 'ls' command is trying its best to interpret the random bit patterns of the inodes. Its mapping the random junk there into what *you* interpret as various status bit according to the manual page. But really they are just nonsense. That is why you cannot delete anything. It's all corrupt. Look, the information is supposed to be <mode>, <# of links>, <owner>, <group>, <size>, <date/time>, <pathname>
dr--r-s--T 2 85894704 85786717 36864 Sep 10 1948 #4083819
So you have ownerUID=85894704 and a date in 1948 with epoch 1970? So it must be a -ve number. Is this all not a hint? It really doesn't matter what the 'T' and 't' attributes are, or the 'S' and 's' or even the 'r', 'w', and 'x' since this is all just random stuff. Like I said, BTDT. What I did was went in with a low level binary editor and cleared out the inodes. Difficult and hairy stuff. I think there are other tools now, over and above fsck. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org