GNU bug report logs - #78363
Home is read-only in guix shell container

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: keinflue <keinflue@HIDDEN>; dated Sat, 10 May 2025 23:00:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 14 May 2025 17:04:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 14 13:04:11 2025
Received: from localhost ([127.0.0.1]:44773 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFFWd-0004oh-5L
	for submit <at> debbugs.gnu.org; Wed, 14 May 2025 13:04:11 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:47832)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uFFWY-0004md-DA
 for 78363 <at> debbugs.gnu.org; Wed, 14 May 2025 13:04:07 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 168E3E4B;
 Wed, 14 May 2025 19:03:57 +0200 (CEST)
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id 7QiojIAGGxfx; Wed, 14 May 2025 19:03:56 +0200 (CEST)
Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 68FEDD96;
 Wed, 14 May 2025 19:03:56 +0200 (CEST)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Tomas Volf <~@wolfsden.cz>
Subject: Re: bug#78363: Home is read-only in guix shell container
In-Reply-To: <87msbivqqj.fsf@HIDDEN> (Tomas Volf's message of "Sun, 11
 May 2025 22:26:12 +0200")
References: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
 <87bjrz2nlg.fsf@HIDDEN> <87msbivqqj.fsf@HIDDEN>
Date: Wed, 14 May 2025 18:28:46 +0200
Message-ID: <87jz6jyx4x.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: 78363
Cc: keinflue <keinflue@HIDDEN>, 78363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

Hello,

Tomas Volf <~@wolfsden.cz> writes:

>> As noted in the =E2=80=98guix pull=E2=80=99 news, you can use =E2=80=98-=
-writable-root=E2=80=99.
>> Otherwise, everything but the current directory and /tmp is read-only.
>
> Does that make sense though?  You have already made an exception for
> /tmp, I would argue that ~ is another candidate for special-casing.
>
> I think people would reasonably expect that touching a file in your own
> home should work.  But it does not:
>
> $ guix shell --no-cwd -C coreutils bash -- sh -c 'touch ~/foo'
> touch: cannot touch '/home/user/foo': Read-only file system
>
>
> Some software just fails to start in the container:
>
> $ guix shell --no-cwd -C deluge -- deluged
> 20:22:20 [ERROR   ][deluge.common:136 ] Unable to use default config dire=
ctory, exiting... ([Errno 30] Read-only file system: '/home/user/.config')

It=E2=80=99s surprising that deluged tries to write to ~/.config, but yeah,=
 more
generally, I agree that many programs will want to write to ~/.cache and
the likes.

So hmm, maybe we can make another exception?  It doesn=E2=80=99t hurt anyway
since it=E2=80=99s a tmpfs.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 11 May 2025 20:26:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 16:26:22 2025
Received: from localhost ([127.0.0.1]:43585 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEDFa-0005HD-Q3
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 16:26:21 -0400
Received: from wolfsden.cz ([37.205.8.62]:50498)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1uEDFX-0005Gb-36
 for 78363 <at> debbugs.gnu.org; Sun, 11 May 2025 16:26:17 -0400
Received: by wolfsden.cz (Postfix, from userid 104)
 id 4F488388493; Sun, 11 May 2025 20:26:13 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1746995173; bh=GwlDfTezWnHbJ2NDrqlPKpigsP+0Rz7wXbPymm2kxEQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=Ow0XqfKZYj+NQMPLIHl4KdGMvu/dayz2aZQr1gjiGhqxJIaniSOpsq/AOzV6JbqSx
 qMJCup4/ql2B0o3c/GA47Zxe4AXdm8bX8gfAHqX4WMCLdGNT8CGjNQd98hr4XnXEnO
 dmgF02zsqFHXTUR6ijjneqBpoeSEVz5QD1wbwCT+Nl4b3PgPQo7EhmtTiKJ5dIBjeb
 lwKXy2cF7AQSqShwSTho+KAjBBal4F5N93hIFIqKQ56qWH9vryZiCaE0jUxuTA9z2Q
 MDBKF83MzxW1D1h/3lAAKuWA5lg/Y+VjTTBRzVRLLaU25jV8SV+L1kD+0+Ap6pBOxi
 jGiS0C5x5qCl0ms2wslO+jDLelALYkW4qwpcfD0dmPxrlEhcW4gGa6ugakxLv2A0XG
 W1X4V0EHAoA5AFi2srkeiAYq7sjwJ8vREU20ivJ1sZh42mDe7Kr7Y49zZC6O6ccR9H
 FncjM06zBSKgAeFv08mMW8146HYaQjGVkrl2Ec62dlKZiEEz7SPdH27FMkiFTXgLAK
 yxmsecCWlo0VRVOybu9uBffKTTboxcpDGqMZpnTq58D8TyDU9Ydly3UUOBPrwAKanm
 uhLbLKGp/nHia9uyGYRxj3d9tJfgq1JWhnoanly1l4n6wAghbiHrUwlpEARiT3aoXH
 f1/QySCmu3xNTbBOK/pZ1MGU=
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on wolfsden
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=ALL_TRUSTED,BAYES_00,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED
 autolearn=ham autolearn_force=no version=3.4.6
Received: from localhost (unknown [128.0.188.242])
 by wolfsden.cz (Postfix) with ESMTPSA id E4435386EEE;
 Sun, 11 May 2025 20:26:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail;
 t=1746995172; bh=GwlDfTezWnHbJ2NDrqlPKpigsP+0Rz7wXbPymm2kxEQ=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date;
 b=ooWbaBmx+BCNbNElTfbbtOYq9CwTBcVj61wM0mcOh3zl73LIvqOs0U6+K7RA4GSbY
 mu6/NN7PCPQXZFhJLLwzarcX5idPDsYoG6N2NJ3YdgYz5I4TmPs8Nn0MONyL3ur5si
 LEKpgNf8jzdQU4J+has1ozUeMwbLynZT3FF+JFz9MIuz8RH+6+usGEEq4yjeicTKy3
 8ZHesAqnKMQYdlJwriDhVciebd9c/8orlfxI6YywBPNBiyWp/LiDbEY2mZ32mHKgXp
 BsSS5TyZ5ZWr1EMdPT+cSEY5hkuG1T0UKqL/cRShdYJwFugFdxBDYMCDCnY4qCUQAf
 bg5YqIksB1W6HYdPSpdpPBwi+i0joMTqT+/FxB4vKLKbEHqCBrdMeQ3919MtAsfc+7
 d42QbrLyupyu81WjaJCx7fWJdlN+DvFbhXdK/vgfo8EZJbdQkDF4fCEiYsnhvpKPqJ
 bZZlVQtbDr+SGeQSXGUO+yOYjO2slcH80qkoEVIsg2mEYF2Bo6hCDuKplOGlK2E891
 M5QY3REHmUYA8cykpr6HiUeoByJr4fvierP72jP8QmsvjnihRz6K/1MaRkcau4hbuU
 o5AUlksppLpNzvjLPIaGlgNKKcIcSqC1ONm1l+5gyDSSyNDIiy36weu3iglfHYqrTK
 slOKMQK9zt2TZ3lEkt8Df2pY=
From: Tomas Volf <~@wolfsden.cz>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#78363: Home is read-only in guix shell container
In-Reply-To: <87bjrz2nlg.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Sun, 11 May 2025 17:06:51 +0200")
References: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
 <87bjrz2nlg.fsf@HIDDEN>
Date: Sun, 11 May 2025 22:26:12 +0200
Message-ID: <87msbivqqj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78363
Cc: keinflue <keinflue@HIDDEN>, 78363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> keinflue <keinflue@HIDDEN> writes:
>
>> I am not sure whether this is intended behavior, but it seems weird to
>> me. Inside e.g.
>>
>> guix shell -Cu test coreutils
>>
>> /home/test is mounted read-only and I do not see any way to make it
>> writable without sharing a host directory.
>
> As noted in the =E2=80=98guix pull=E2=80=99 news, you can use =E2=80=98--=
writable-root=E2=80=99.
> Otherwise, everything but the current directory and /tmp is read-only.

Does that make sense though?  You have already made an exception for
/tmp, I would argue that ~ is another candidate for special-casing.

I think people would reasonably expect that touching a file in your own
home should work.  But it does not:

--8<---------------cut here---------------start------------->8---
$ guix shell --no-cwd -C coreutils bash -- sh -c 'touch ~/foo'
touch: cannot touch '/home/user/foo': Read-only file system
--8<---------------cut here---------------end--------------->8---

Some software just fails to start in the container:

--8<---------------cut here---------------start------------->8---
$ guix shell --no-cwd -C deluge -- deluged
20:22:20 [ERROR   ][deluge.common:136 ] Unable to use default config direct=
ory, exiting... ([Errno 30] Read-only file system: '/home/user/.config')
--8<---------------cut here---------------end--------------->8---

Sure, I *can* use --writable-root, but I agree that root being read-only
is a good idea.  Maybe --writable-home, which would default to #t, would
be a good addition?

Tomas

--=20
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 11 May 2025 16:31:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 12:31:18 2025
Received: from localhost ([127.0.0.1]:39071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uE9a9-0001Jj-TF
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 12:31:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51242)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uE9a4-00014w-Fr
 for 78363 <at> debbugs.gnu.org; Sun, 11 May 2025 12:31:13 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uE9Zx-0000s4-7l; Sun, 11 May 2025 12:31:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=onjkCMh6Nq9OedHmX+VX77wyFGM8/umcFBI41XF/m+o=; b=kRrU9xoOm3KIebP/YBSl
 R/c7hOBqXHbXSmsBm60VDddHK6WlKF39erF+2zN5xRPdKVgS2qR3bCOmnM3byBCyqzh30xt6zXU34
 ZkrfLzAjvoXl0LoqhWDjcOj0D2wpnXRaFjmxncMhTdBpdUSCYtWmHBvWXiDEBOf46++pplYOMPIGI
 HzeldARa/Ry7/6i+1vurg3k2+bu4FVDPTiYjkK1xqFaMYjzf+lt8mBeg1aI9In/ccU7GX/HgAi5VD
 P9Z3g87fBDMNFVFybNo80h/3EqhbPjWoS5Yqdxfh9dYrpgSk6T6hGePibocBC0qNG7r5l2WLil+Bv
 p6mfKJwbLX2Yzw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: keinflue <keinflue@HIDDEN>
Subject: Re: bug#78363: Home is read-only in guix shell container
In-Reply-To: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
 (keinflue@HIDDEN's message of "Sat, 10 May 2025 22:59:21 +0000")
References: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Duodi 22 =?utf-8?Q?Flor=C3=A9al?= an 233 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour de la Fritillaire
Date: Sun, 11 May 2025 17:06:51 +0200
Message-ID: <87bjrz2nlg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78363
Cc: 78363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

keinflue <keinflue@HIDDEN> writes:

> I am not sure whether this is intended behavior, but it seems weird to
> me. Inside e.g.
>
> guix shell -Cu test coreutils
>
> /home/test is mounted read-only and I do not see any way to make it
> writable without sharing a host directory.

As noted in the =E2=80=98guix pull=E2=80=99 news, you can use =E2=80=98--wr=
itable-root=E2=80=99.
Otherwise, everything but the current directory and /tmp is read-only.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 11 May 2025 15:36:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 11:36:03 2025
Received: from localhost ([127.0.0.1]:37821 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uE8ig-000281-3D
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 11:36:03 -0400
Received: from mail.z572.online ([88.99.160.180]:48342)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <zhengjunjie@HIDDEN>)
 id 1uE8ib-00026r-34
 for 78363 <at> debbugs.gnu.org; Sun, 11 May 2025 11:35:59 -0400
Received: from m (<unknown> [61.174.159.83])
 by mail.z572.online (OpenSMTPD) with ESMTPSA id 5377e3e3
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sun, 11 May 2025 15:42:52 +0000 (UTC)
From: Z572 <zhengjunjie@HIDDEN>
To: Rutherther via Bug reports for GNU Guix <bug-guix@HIDDEN>
Subject: Re: bug#78363: Home is read-only in guix shell container
In-Reply-To: <875xi7gynj.fsf@HIDDEN> (Rutherther via Bug reports for's
 message of "Sun, 11 May 2025 13:44:16 +0200")
References: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
 <875xi7gynj.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 30.0.92
Date: Sun, 11 May 2025 23:35:44 +0800
Message-ID: <87o6vzdusv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: 78363
Cc: keinflue <keinflue@HIDDEN>, 78363 <at> debbugs.gnu.org,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Rutherther <rutherther@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Rutherther via Bug reports for GNU Guix <bug-guix@HIDDEN> writes:

>> I am not sure whether this is intended behavior, but it seems weird to=20
>> me. Inside e.g.
>>=20
>> guix shell -Cu test coreutils
>>=20
>> /home/test is mounted read-only and I do not see any way to make it=20
>> writable without sharing a host directory.
>
> Yes this is intentional. The root has been changed to read only
> recently. See the guix news. Use --writable-root to restore the previous =
behavior.

I think this is a bug, just like issues.guix.gnu.org/78272

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmggw9EACgkQO1qpk+Gi
3/DTWA//fOpjBaZYYjnxWjeXWqEdTk6GfL2fKpr8I1T0jHznZwHPUE/e+E8+w1xN
PUMzad2AH4bMQ7Ap2PyXvwlLXZQTtFR/rIUfm0gftfH5xDihHE1ZfjbgfboG1PQC
otPKkKOZ2TQkYhf3izUCglqQl9gghNAhQ6JLxHalq79OjGGtjSQfHrEhnX6p4GjK
Ox3Hv5WKEPKLV/trvsYMo2RHoG709elp4V6I9Vu+ofN53VZed6u467eBgTGCpyu6
MQYcSfK4ZOI4OK2B35GaFcDiKX63IpmVkVSGXGKuBVPYBQ+S7KSe+FVd5WwejHPi
0ZCuSaZ/It7cpUxfwz9aXFf/QKfkKg+RkJn4jTJEGc09sbsJ0HsJlzCFv5oBEO3W
lm99Su89aMIV/kFBrpxXpOeopWsB3xJZyG8ArcvgKEyhg3K7XYOK7On66h1+9ZcI
xr3/vEDIc3lmpbzE5a0s7buEcjdDyadN+ZgLDsyEsnDDz2HzGjHnxxOHKo7N1srj
YaXO7eF4YrN2QFEBeD9ymzsQ2BnlJ54h8bp9jOJf6i2CcnUq+XGWeN6b4NWOV1Rp
kuGPA4DNSnfBoE61S9IYGu0wGnf8aREjFzvqTJPzvNvOS6DcsqYhgW2/UehCDbpf
ReF2I7N4Y+QGbGsCb0NEMGs/R5BvaBbm8YqX/3RWfehu8LqbUVE=
=8/su
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 11 May 2025 12:16:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 08:16:29 2025
Received: from localhost ([127.0.0.1]:60091 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uE5bX-0005vB-6s
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 08:16:29 -0400
Received: from mout02.posteo.de ([185.67.36.66]:58549)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <keinflue@HIDDEN>)
 id 1uE5bS-0005tv-Vu
 for 78363 <at> debbugs.gnu.org; Sun, 11 May 2025 08:16:24 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 328EA240101
 for <78363 <at> debbugs.gnu.org>; Sun, 11 May 2025 14:16:15 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1746965775; bh=OUMm5aVoUEQqA2K+BwcdkObykgh8o+seARB51do0Ibw=;
 h=MIME-Version:Date:From:To:Cc:Subject:Message-ID:Content-Type:
 Content-Transfer-Encoding:From;
 b=e07O09t+fZG13e4yG1ipxUMnB+SdytchXhNEAwvPG7Y1KSheliBoMtuD1VSBfg8bK
 6RRRJNcspPAZcJ85Org3ILaiySZLnYhPuLFaQrwLmhUMmhXF5m7j5DIRZGnc++SlGs
 zrpuHxs8SOhr406i3M8FDo0BOaNVHzX1b6mrPkK9U6DSKe+2Mf5ohSCWLi5T+bWN0t
 GQQ7Zx3dzRFjFQ59jzDRWI3eBrRW5homjvk2Y1v3l2oSChtLIwugeLQmGtBdKCstOy
 SYnpa4HUDroI1afHXfd1foGveWPlYH0O5hq9D57hPyTguYGxqKjk9O/7uykuzjN4i0
 0fnQr06eY8/Hw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4ZwMCf2yPJz9rxK;
 Sun, 11 May 2025 14:16:14 +0200 (CEST)
MIME-Version: 1.0
Date: Sun, 11 May 2025 12:16:14 +0000
From: keinflue <keinflue@HIDDEN>
To: Rutherther <rutherther@HIDDEN>
Subject: Re: Home is read-only in guix shell container
In-Reply-To: <875xi7gynj.fsf@HIDDEN>
References: <875xi7gynj.fsf@HIDDEN>
Message-ID: <8d69ccf510729fbf5a0422d7ea2425d6@HIDDEN>
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 78363
Cc: 78363 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Oh ok, if that is intentionally including the home directory, then 
everything is ok. I missed the --writable-root option when reading the 
man page.

This can be closed then.

On 11.05.2025 13:44, Rutherther wrote:
>> I am not sure whether this is intended behavior, but it seems weird to
>> me. Inside e.g.
>> 
>> guix shell -Cu test coreutils
>> 
>> /home/test is mounted read-only and I do not see any way to make it
>> writable without sharing a host directory.
> 
> Yes this is intentional. The root has been changed to read only
> recently. See the guix news. Use --writable-root to restore the
> previous behavior.




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at 78363 <at> debbugs.gnu.org:


Received: (at 78363) by debbugs.gnu.org; 11 May 2025 11:44:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 07:44:30 2025
Received: from localhost ([127.0.0.1]:59554 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uE56b-0003KI-IR
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 07:44:29 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:42166 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uE56Y-0003Jb-O9
 for 78363 <at> debbugs.gnu.org; Sun, 11 May 2025 07:44:27 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id b4e4ede7
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Sun, 11 May 2025 11:44:18 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
To: 78363 <at> debbugs.gnu.org
Subject: Re: Home is read-only in guix shell container
In-Reply-To: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
Date: Sun, 11 May 2025 13:44:16 +0200
Message-ID: <875xi7gynj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1746963858; h=from : to : cc
 : subject : in-reply-to : date : message-id : mime-version :
 content-type : from; bh=CiDCzHKSwKBmuVxDAexUJy9wg/2Jt0rYBpW6qL8zlBw=;
 b=K926t+6lcJMgm5X6sICCb6yJ1vbQW+dubndCF6SppoWoERk4XpqJ3wqdUnavbKZ/zwMIK
 cK9AnM/FbLbesRK5y8ysDLiSp72xmgz7KDkMI6VmMIheO/ljEqJFKWcvFbrwDqvECNvvb8R
 QvsxdnCtAFtoguuo5Q1sWvbAe2qzX9c=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > I am not sure whether this is intended behavior, but it
 seems weird to > me. Inside e.g. > > guix shell -Cu test coreutils > >
 /home/test
 is mounted read-only and I do not see any way to make it > w [...] 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: ditigal.xyz (xyz)]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 78363
Cc: keinflue <keinflue@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > I am not sure whether this is intended behavior, but it
   seems weird to > me. Inside e.g. > > guix shell -Cu test coreutils > > /home/test
    is mounted read-only and I do not see any way to make it > w [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


> I am not sure whether this is intended behavior, but it seems weird to 
> me. Inside e.g.
> 
> guix shell -Cu test coreutils
> 
> /home/test is mounted read-only and I do not see any way to make it 
> writable without sharing a host directory.

Yes this is intentional. The root has been changed to read only
recently. See the guix news. Use --writable-root to restore the previous behavior.




Information forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 May 2025 22:59:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 10 18:59:39 2025
Received: from localhost ([127.0.0.1]:53075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uDtAR-0002ca-IL
	for submit <at> debbugs.gnu.org; Sat, 10 May 2025 18:59:39 -0400
Received: from lists.gnu.org ([2001:470:142::17]:43674)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <keinflue@HIDDEN>)
 id 1uDtAM-0002c6-96
 for submit <at> debbugs.gnu.org; Sat, 10 May 2025 18:59:36 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <keinflue@HIDDEN>)
 id 1uDtAG-0004cl-Fm
 for bug-guix@HIDDEN; Sat, 10 May 2025 18:59:28 -0400
Received: from mout02.posteo.de ([185.67.36.66])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <keinflue@HIDDEN>)
 id 1uDtAE-0003pC-09
 for bug-guix@HIDDEN; Sat, 10 May 2025 18:59:28 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id DD1A1240101
 for <bug-guix@HIDDEN>; Sun, 11 May 2025 00:59:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1746917961; bh=G6Nni8F4gos7uMPLWOpMjtsvMJFCV68ABAk6SrEb9No=;
 h=MIME-Version:Date:From:To:Subject:Message-ID:Content-Type:
 Content-Transfer-Encoding:From;
 b=B+GCq1vkOK27B88BqCiIvbdYDGbuApO33La1JsQWbGS9NRGrPFLCSPJZPN25okhCH
 oSYhOjOLeHZ0Itp8tM8xEAswX3l2qWbuA6y+4bDM3/j+2+RBlkQKNZiWkv5ZxjlBFq
 FoFE61jM+mNdBgRxPoNs4+O0aVekGJm78s6np8Yj+QYAFPZIYD6C+nxwcRCKFLH77r
 yrgcQCmtxowjOqvMAsJZ90gMPDCPx1toUkK11ijgpmWxRjPVC5ipA3QbYtx+u1OBPh
 iBmY2/iMr1NXvQo/9rRoN7aroXYThi9n/ELs88VvDrJuIh+Od+OtNoFtgmIOUdCVJ9
 RCe5+IGM94q+g==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4Zw1X94CGMz9rxD
 for <bug-guix@HIDDEN>; Sun, 11 May 2025 00:59:21 +0200 (CEST)
MIME-Version: 1.0
Date: Sat, 10 May 2025 22:59:21 +0000
From: keinflue <keinflue@HIDDEN>
To: Bug guix <bug-guix@HIDDEN>
Subject: Home is read-only in guix shell container
Message-ID: <df56dcfd7fd78f50fe83429db976dc30@HIDDEN>
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=185.67.36.66; envelope-from=keinflue@HIDDEN;
 helo=mout02.posteo.de
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

I am not sure whether this is intended behavior, but it seems weird to 
me. Inside e.g.

guix shell -Cu test coreutils

/home/test is mounted read-only and I do not see any way to make it 
writable without sharing a host directory.




Acknowledgement sent to keinflue <keinflue@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#78363; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 14 May 2025 17:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.