From 75e45d4eea9c857064a5c7a08d986d1a7df80089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 29 Aug 2025 11:38:31 +0200 Subject: [PATCH] home: Adjust file system mount options. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * guix/scripts/home.scm (spawn-home-container): Add ‘options’ field to the /run/user/$UID and ‘home-directory’ file systems. Change-Id: Ic6d987fe186f9c49718f15c71867953a20f2fb68 --- guix/scripts/home.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guix/scripts/home.scm b/guix/scripts/home.scm index ae003816f92..e040800cf32 100644 --- a/guix/scripts/home.scm +++ b/guix/scripts/home.scm @@ -362,11 +362,13 @@ immediately. Return the exit status of the process in the container." (in-vicinity "/run/user" ;for shepherd & co. (number->string uid))) (type "tmpfs") + (options "size=10%,mode=700") (check? #f)) (file-system ;writable home (device "none") (mount-point home-directory) (type "tmpfs") + (options "mode=700") (check? #f))) #:mappings (append network-mappings mappings) #:guest-uid uid