mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Use a constant umask
This commit is contained in:
parent
67acb607f6
commit
2182076773
2 changed files with 6 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue