From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: --with-store-dir and/or --localstatedir seem to be ignored Date: Fri, 15 May 2015 12:40:19 +0200 Message-ID: <87617u2kfg.fsf@gnu.org> References: 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]:45533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtD2Z-0003eK-3J for guix-devel@gnu.org; Fri, 15 May 2015 06:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YtD2U-0000s8-3k for guix-devel@gnu.org; Fri, 15 May 2015 06:40:26 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YtD2U-0000s3-0n for guix-devel@gnu.org; Fri, 15 May 2015 06:40:22 -0400 In-Reply-To: (Alex Vorobiev's message of "Fri, 15 May 2015 04:07:39 +0000 (UTC)") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Vorobiev Cc: guix-devel@gnu.org Alex Vorobiev skribis: > I have built guix-0.8.2 and specified both --with-store-dir and -- > localstatedir (both directories are world-writable) but when I started=20 > guix-daemon (as myself) and tried to install a package I got: > > $ guix package -i mc > guix package: error: build failed: creating directory `/gnu': Permission= =20 > denied =E2=80=98guix-daemon=E2=80=99 and =E2=80=98guix=E2=80=99 should definitely = honor whatever was --with-store-dir was given. Perhaps there were stale compiled files? Could you try: ./configure --with-store-dir=3D/what/you/want && \ make clean && make && make install ? HTH, Ludo=E2=80=99.