From: cvlc12 Date: Tue, 22 Apr 2025 20:36:12 +0000 (+0200) Subject: homectl: Use 'user_subvol_rm_allowed' for btrfs by default. X-Git-Tag: v258-rc1~754 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05f2d9c08048c1f9f6ad6856ec35e00b96420c5b;p=thirdparty%2Fsystemd.git homectl: Use 'user_subvol_rm_allowed' for btrfs by default. --- diff --git a/man/homectl.xml b/man/homectl.xml index 5c37f1bda96..37a3a05b87b 100644 --- a/man/homectl.xml +++ b/man/homectl.xml @@ -971,7 +971,7 @@ Takes a string containing additional mount options to use when mounting the LUKS volume. If specified, this string will be appended to the default, built-in mount - options. + options. Defaults to "compress=zstd:1,noacl,user_subvol_rm_allowed". diff --git a/src/home/homework-mount.c b/src/home/homework-mount.c index 7f027895c83..1ba732aa139 100644 --- a/src/home/homework-mount.c +++ b/src/home/homework-mount.c @@ -37,7 +37,7 @@ static const char *mount_options_for_fstype(const char *fstype) { if (streq(fstype, "xfs")) return "noquota"; if (streq(fstype, "btrfs")) - return "noacl,compress=zstd:1"; + return "compress=zstd:1,noacl,user_subvol_rm_allowed"; return NULL; }