Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2010 15:02:46 -0700
From:      Leif Walsh <leif.walsh@gmail.com>
To:        Sean <sean@gothic.net.au>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: [Stable 7] CPIO breakage/
Message-ID:  <AANLkTin8EINpW6kDTNZsTJOrvGnDAA6WCrRSJazZczyd@mail.gmail.com>
In-Reply-To: <4C1A9989.3090507@gothic.net.au>
References:  <1276639800.2462.80.camel@localhost.localdomain>  <1276646707.2462.82.camel@localhost.localdomain> <4C18195A.3020501@delphij.net>  <20100617205302.GA60347@server.vk2pj.dyndns.org> <4C1A9989.3090507@gothic.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 17, 2010 at 2:54 PM, Sean <sean@gothic.net.au> wrote:
> Easy.
> Create a symlink etc, to /etc
> Create a file etc/passwd containing whatever you want.

This could be an artifact of coming from the Linux world and knowing
little about the BSD kernel (and I should probably lurk a bit longer
before posting on a new list), but wouldn't the symlink resolve and
result in a totally new chain of lookup/permissions calls?  I don't
see how making a symlink to a location allows you to change the
permissions of that location just by changing the permissions of the
symlink.

-- 
Cheers,
Leif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTin8EINpW6kDTNZsTJOrvGnDAA6WCrRSJazZczyd>