Use a constant umask
This commit is contained in:
parent
67acb607f6
commit
2182076773
|
@ -159,6 +159,9 @@ def main():
|
||||||
else:
|
else:
|
||||||
args.swap = 0
|
args.swap = 0
|
||||||
|
|
||||||
|
# Set constant umask
|
||||||
|
os.umask(0o022)
|
||||||
|
|
||||||
# bootstrap.cfg
|
# bootstrap.cfg
|
||||||
try:
|
try:
|
||||||
os.remove(os.path.join('steps', 'bootstrap.cfg'))
|
os.remove(os.path.join('steps', 'bootstrap.cfg'))
|
||||||
|
|
|
@ -7,6 +7,9 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
# Set constant umask
|
||||||
|
umask 022
|
||||||
|
|
||||||
# Get a list of files
|
# Get a list of files
|
||||||
get_files() {
|
get_files() {
|
||||||
echo "."
|
echo "."
|
||||||
|
|
Loading…
Reference in New Issue