Subject: Unexpected requirement of --writable-root when using --share with guix shell

From: "[email-masked]" <[email-masked]>
Date: Thu, 15 May 2025 07:49:31 +0000

Dear Guix Team,

I’d like to report what may be an unintended behavior in recent versions of guix shell.

Summary:

When using guix shell with the --share option, we are now required to also pass --writable-root for the command to work. This was not previously necessary and may be a regression or side effect of recent changes.

Expectation

Given that --share should allow mounting host directories into the container, it’s not clear why --writable-root is required. This seems to go against the previous behavior and intended design.

Please let me know if additional information is needed. Happy to assist with further debugging.

Best regards,
Navid

- -  

Navid Afkhami

High Performance Computing (HPC)

Max Delbrück Center for Molecular Medicine (MDC)

Robert-Rössle-Straße 10, 13125 Berlin

Phone: +49 30 9406 1316

Email:   [email-masked]