Use a constant umask
This commit is contained in:
parent
67acb607f6
commit
2182076773
|
@ -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'))
|
||||
|
|
|
@ -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 "."
|
||||
|
|
Loading…
Reference in New Issue