From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8ECB2139085 for ; Sat, 4 Feb 2017 18:03:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBBFB21C098; Sat, 4 Feb 2017 18:03:42 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FE3621C03C for ; Sat, 4 Feb 2017 18:03:42 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ca4gN-0006WL-LW for gentoo-dev@lists.gentoo.org; Sat, 04 Feb 2017 19:03:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Martin Vaeth Subject: [gentoo-dev] Re: Requirements for UID/GID management Date: Sat, 4 Feb 2017 18:03:25 +0000 (UTC) Message-ID: References: <9558d41c-17c0-4bbd-e2f8-02575c6d0ecd@gentoo.org> <20170127183752.500f8910@patrickm> <4a8204d4-929e-6260-957a-dcf8f82f4b24@gentoo.org> <9bceefb9-f7d2-06a4-2304-d31f627f7656@gentoo.org> <3fd11559-004c-11f8-609a-923ebc074539@gmail.com> <495556ab-637c-6b21-fac0-52d3bd1e4986@gentoo.org> <616a4068-8581-bce6-3359-50b1ff5a817d@gmail.com> <8eb6fc27-8504-ad7d-7ad1-7272da662178@gentoo.org> <8bfa7182-7a02-7ecb-42d1-37c2d130f586@gmail.com> <513d3ceb-9e07-096a-ff5c-2cf8a5c2a6fd@gentoo.org> <20170130100557.49b3b77e@patrickm> <671d81bc-8432-a903-024f-40e3c19a4f96@gentoo.org> <32310889-a605-f9e8-761d-861890f928d5@gentoo.org> <20170204005038.6148d654@amdahl.home.chead.ca> X-Complaints-To: usenet@blaine.gmane.org User-Agent: slrn/pre1.0.0-26 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Archives-Salt: bdcfc6ac-32c4-4d7f-86e5-a0f14b285c67 X-Archives-Hash: f1fffbd001c48dd98cefa49970fb45a9 Christopher Head wrote: > > Are you sure that said utility isn't simply chown --from=? As usual, I just checked the POSIX standard and not the GNU extensions before posting ;) I did now a quick audit of the coreutils-8.25 source: It seems to be safely implemented in the way I mentioned.