Demi Marie Obenour writes: > Previously it had 0700 permissions, which was hidden because everything > ran as root anyway. However, dbus-broker fails to start in this case > because it always drops privileges. Also set umask to 0022 to ensure > that the permissions of other directories are correct. > > Signed-off-by: Demi Marie Obenour > --- > scripts/make-erofs.sh | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git a/scripts/make-erofs.sh b/scripts/make-erofs.sh > index b47048ad747bd7dfcc28e0f1dfd75ec090fa7e09..5b620be77f2967e45fa1c2b06c6acfc3329e46c0 100755 > --- a/scripts/make-erofs.sh > +++ b/scripts/make-erofs.sh > @@ -1,6 +1,7 @@ > #!/bin/sh -eu > # > # SPDX-FileCopyrightText: 2023-2024 Alyssa Ross > +# SPDX-FileCopyrightText: 2025 Demi Marie Obenour > # SPDX-License-Identifier: EUPL-1.2+ > # > # FIXME: It would be nice to replace this script with a program that > @@ -8,6 +9,7 @@ > # single directory structure, and could generate an EROFS image > # based on source:dest mappings directly. > > +umask 0022 # for permissions Comment from https://spectrum-os.org/lists/archives/spectrum-devel/87a535l5h8.fsf@alyssa.is/ still applies — would be nice to have a bit more explanation for this.