From 6692950b6feb61daaaa34df1bad0dc7bdfb466e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 7 May 2019 01:29:34 +0200 Subject: [PATCH] Make files on ISO readable by non-root users. Set umask to 022 for that. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7338f42..0d31514 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ iso-prepare: iso-installer: iso-prepare mkdir -p work - pushd work && pungi --name=Qubes $(PUNGI_OPTS) -c $(INSTALLER_KICKSTART) && popd + umask 022; pushd work && pungi --name=Qubes $(PUNGI_OPTS) -c $(INSTALLER_KICKSTART) && popd # Move result files to known-named directories mkdir -p build/ISO/qubes-x86_64/iso mv work/$(ISO_VERSION)/x86_64/iso/*-DVD*.iso build/ISO/qubes-x86_64/iso/Qubes-$(ISO_VERSION)-x86_64.iso