From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: [Patch v2] daemon: Set ownership of kept build directories to the calling user. Date: Mon, 21 Nov 2016 18:36:38 +0100 Message-ID: <583330A6.4090907@crazy-compilers.com> References: <1479382225-25227-1-git-send-email-h.goebel@crazy-compilers.com> <87shqkvs3a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8sWJ-0005wE-Sz for guix-devel@gnu.org; Mon, 21 Nov 2016 12:36:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8sWG-0001Ik-Q0 for guix-devel@gnu.org; Mon, 21 Nov 2016 12:36:43 -0500 In-Reply-To: <87shqkvs3a.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Ludovic_Court=c3=a8s?= Cc: guix-devel@gnu.org Am 21.11.2016 um 15:13 schrieb Ludovic Court=C3=A8s: > Could we instead pass them via the =E2=80=98LocalStore=E2=80=99 constru= ctor, with their > default values taken from =E2=80=98getuid=E2=80=99 and =E2=80=98getgid=E2= =80=99 (rather than 0)? WDYT? Regarding the default values: I'm using zero as "not set" marker here. The files will already have owner and group from =E2=80=98getuid=E2=80=99= and =E2=80=98getgid=E2=80=99, so there is no need to change them. Or did I miss something? --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |