Re: wierd file perms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan-Benedict Glaw wrote:
On Sat, 2007-10-13 22:40:23 +0530, vignesh babu <[email protected]> wrote:
I was surprised and did an ls -l on the files and guess what I found:

total 0
?--------- ? ? ? ?                ? fcntl.c
?--------- ? ? ? ?                ? fifo.c
?--------- ? ? ? ?                ? filesystems.c
?--------- ? ? ? ?                ? file_table.c
?--------- ? ? ? ?                ? freevxfs

So end result is that, Im not able to delete the files or change perms
or ownership even as root.

Most probably, your filesystem is broken and needs a fsck.

No, this is perfectly normal behaviour, for when a directory
has READ permissions but not EXECUTE permissions.

Eg.

	mkdir a
	touch a/b
	chmod 644 a
	ls -l a

Try it!

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux