mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Horst von Brand <brand@jupiter.cs.uni-dortmund.de>
To: Peter Chubb <peter@chubb.wattle.id.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ISO-9660 Rock Ridge gives different links different inums
Date: Fri, 10 Jan 2003 16:58:37 +0100	[thread overview]
Message-ID: <200301101558.h0AFwbRU011029@eeyore.valparaiso.cl> (raw)
In-Reply-To: Message from Peter Chubb <peter@chubb.wattle.id.au>  of "Fri, 10 Jan 2003 19:56:04 +1100." <15902.35492.536040.298566@wombat.chubb.wattle.id.au>

Peter Chubb <peter@chubb.wattle.id.au> said:

[...]

> The problem is that in Unix the fundamental identity of a file is
> the tuple (blkdev, inum); names are merely indices (links) that resolve to
> that tuple.   Personally, I'd swap to a pair of system calls to map
> name to (blkdev, inum), and open(blkdev, inum).  Think of the inode
> number as a unique within-filesystem index.

That way any joker can go ahead and open any file, without any regard to
permission bits on the directories that lead there. Not nice.
--
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

  parent reply	other threads:[~2003-01-11 15:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10  3:08 Peter Chubb
2003-01-10  3:23 ` Andrew McGregor
2003-01-10  3:34   ` Peter Chubb
2003-01-10  6:34     ` Denis Vlasenko
2003-01-10  8:56       ` Peter Chubb
2003-01-10  8:54         ` Denis Vlasenko
2003-01-10 15:58         ` Horst von Brand [this message]
2003-01-15 21:07           ` Mark H. Wood
2003-01-15 21:28             ` Jesse Pollard
2003-01-13 22:16     ` Bill Davidsen
2003-01-13 23:10       ` Peter Chubb

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=200301101558.h0AFwbRU011029@eeyore.valparaiso.cl \
    --to=brand@jupiter.cs.uni-dortmund.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peter@chubb.wattle.id.au \
    /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®