From: Mark Lord <lkml@rtr.ca>
To: vignesh babu <vigneshbabu@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: wierd file perms
Date: Sun, 14 Oct 2007 09:27:31 -0400 [thread overview]
Message-ID: <47121943.2030902@rtr.ca> (raw)
In-Reply-To: <20071013172848.GE16774@lug-owl.de>
Jan-Benedict Glaw wrote:
> On Sat, 2007-10-13 22:40:23 +0530, vignesh babu <vigneshbabu@gmail.com> 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
next prev parent reply other threads:[~2007-10-14 13:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 17:10 wierd file perms vignesh babu
2007-10-13 17:28 ` Jan-Benedict Glaw
2007-10-14 12:30 ` Bauke Jan Douma
2007-10-14 12:42 ` Jan Engelhardt
2007-10-14 13:27 ` Mark Lord [this message]
2007-10-14 14:05 ` Jan Engelhardt
2007-10-14 20:01 ` Mark Lord
2007-10-15 1:29 ` vignesh babu
2007-10-14 13:29 ` Mark Lord
2007-10-14 13:31 ` Jan-Benedict Glaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47121943.2030902@rtr.ca \
--to=lkml@rtr.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=vigneshbabu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.