From owner-freebsd-stable@FreeBSD.ORG Thu Jun 17 22:30:54 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABC4E1065672 for ; Thu, 17 Jun 2010 22:30:54 +0000 (UTC) (envelope-from leif.walsh@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4FE8FC1E for ; Thu, 17 Jun 2010 22:30:54 +0000 (UTC) Received: by gwj20 with SMTP id 20so332604gwj.13 for ; Thu, 17 Jun 2010 15:30:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=OfmEovA64GdBLQJ9akD2hoF20V//dQ5Ah+M1btdm+JQ=; b=vE5muKN+jUC4EBPxi8knNicQCbVcUNh1laLni7JNI9BrLxhfExvZKrL7LNxwfx69uD xuGmE8/prNp2X6LrR812dBdTh/no7h+41QEfemSX9ge5GX8dSVhy85jGs10DkV7cIRos 00hE63bBeO4cmXgRBcpyU9EVYy7WzY9vgduJ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=aITv9qT4F8pY6tScpBN9twElajBXecW2RDPA7nGij90Z5plvbSUvss4WeZDJhraaXo W98BKBMDe/qYiwJZ+Z7FpV5fTOmjg+LG8OXC4ohs1cOQwQvA7yPGSVBy79VhG/ND9Zl8 a4GA3rGFJbuhNBRoS2A6hKB186UnxvJIedZyU= Received: by 10.229.97.5 with SMTP id j5mr80349qcn.133.1276812187203; Thu, 17 Jun 2010 15:03:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.232.149 with HTTP; Thu, 17 Jun 2010 15:02:46 -0700 (PDT) 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> From: Leif Walsh Date: Thu, 17 Jun 2010 15:02:46 -0700 Message-ID: To: Sean Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org Subject: Re: [Stable 7] CPIO breakage/ X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 22:30:54 -0000 On Thu, Jun 17, 2010 at 2:54 PM, Sean 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