From: "vignesh babu" <vigneshbabu@gmail.com>
To: "Mark Lord" <lkml@rtr.ca>
Cc: "Jan Engelhardt" <jengelh@computergmbh.de>, linux-kernel@vger.kernel.org
Subject: Re: wierd file perms
Date: Mon, 15 Oct 2007 06:59:20 +0530 [thread overview]
Message-ID: <3d1754a30710141829y24e19e70o500e7bbb6bb56701@mail.gmail.com> (raw)
In-Reply-To: <471275AB.7090502@rtr.ca>
ls --version
ls (GNU coreutils) 5.97
An fsck did it :) and had the source restored by checkout -f
Think Jan is right, there is a diff between the two...
On 10/15/07, Mark Lord <lkml@rtr.ca> wrote:
> Jan Engelhardt wrote:
> > On Oct 14 2007 09:27, Mark Lord wrote:
> >> 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.
> >
> > Er, close.
> >
> > 16:02 ichi:/dev/shm > md a
> > 16:02 ichi:/dev/shm > touch a/b
> > 16:02 ichi:/dev/shm > chmod 644 a
> > 16:02 ichi:/dev/shm > ls -l a
> > /bin/ls: cannot access a/b: Permission denied
> > total 0
> > -????????? ? ? ? ? ? b
> > 16:02 ichi:/dev/shm > ls --version
> > ls (GNU coreutils) 6.9
> >
> >
> > There is a difference .. "-?????????" vs "?---------".
>
> That's just a version difference for GNU ls.
> Here, with ls (GNU coreutils) 5.97 it gives this:
>
> ?--------- ? ? ? ? ? a/b
>
>
>
--
----------------------------------------------
"Why is it that every time I'm with you, makes me believe in magic?"
next prev parent reply other threads:[~2007-10-15 1:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-13 17:10 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
2007-10-14 14:05 ` Jan Engelhardt
2007-10-14 20:01 ` Mark Lord
2007-10-15 1:29 ` vignesh babu [this message]
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=3d1754a30710141829y24e19e70o500e7bbb6bb56701@mail.gmail.com \
--to=vigneshbabu@gmail.com \
--cc=jengelh@computergmbh.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@rtr.ca \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®