From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.pbcl.net ([88.198.119.4] helo=hetzner.pbcl.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QlM0L-0002Us-E9 for openembedded-core@lists.openembedded.org; Mon, 25 Jul 2011 16:19:33 +0200 Received: from cambridge.roku.com ([81.142.160.137] helo=[172.30.1.145]) by hetzner.pbcl.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QlLwJ-0000rw-KV for openembedded-core@lists.openembedded.org; Mon, 25 Jul 2011 16:15:23 +0200 From: Phil Blundell To: Patches and discussions about the oe-core layer Date: Mon, 25 Jul 2011 15:15:22 +0100 In-Reply-To: References: <586cbf5404ff76795c3d967266e7338b01e47c8b.1311601422.git.richard.purdie@linuxfoundation.org> <1311602747.30326.224.camel@phil-desktop> X-Mailer: Evolution 3.0.2- Message-ID: <1311603323.30326.230.camel@phil-desktop> Mime-Version: 1.0 Subject: Re: [PATCH 5/5] package.bbclass: fixup_perms - symlink bug fix X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2011 14:19:33 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2011-07-25 at 16:14 +0200, Enrico Scholz wrote: > Phil Blundell writes: > > >> We don't want to change the owner/mode of symlinks, as this may > >> affect the target of the link. Also broken links will fail as well. > > > > This seems like it will cause links themselves to end up getting shipped > > under the UID/GID that was used for building > > there should be used 'os.lchown()' instead of 'os.chown()' in fix_perms() > and the 'os.chmod()' call must be omitted for links. Right, exactly. I think that would be a much better change. p.