Use a constant umask

This commit is contained in:
fosslinux 2024-01-24 17:30:12 +11:00
parent 67acb607f6
commit 2182076773
2 changed files with 6 additions and 0 deletions

View File

@ -159,6 +159,9 @@ def main():
else:
args.swap = 0
# Set constant umask
os.umask(0o022)
# bootstrap.cfg
try:
os.remove(os.path.join('steps', 'bootstrap.cfg'))

View File

@ -7,6 +7,9 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
# Set constant umask
umask 022
# Get a list of files
get_files() {
echo "."