Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
b200ce82
Commit
b200ce82
authored
Jun 23, 2018
by
Gerardo Exequiel Pozzi
Browse files
Ensure correct umask for scripts
Fix for FS#58473 Signed-off-by:
Gerardo Exequiel Pozzi
<
vmlinuz386@gmail.com
>
parent
5f573523
Changes
3
Hide whitespace changes
Inline
Side-by-side
archiso/mkarchiso
View file @
b200ce82
...
...
@@ -367,6 +367,8 @@ if [[ ${EUID} -ne 0 ]]; then
_msg_error
"This script must be run as root."
1
fi
umask
0022
while
getopts
'p:r:C:L:P:A:D:w:o:s:c:g:vh'
arg
;
do
case
"
${
arg
}
"
in
p
)
pkg_list
=
"
${
pkg_list
}
${
OPTARG
}
"
;;
...
...
configs/baseline/build.sh
View file @
b200ce82
...
...
@@ -12,6 +12,8 @@ out_dir=out
script_path
=
$(
readlink
-f
${
0
%/*
}
)
umask
0022
# Helper function to run make_*() only one time per architecture.
run_once
()
{
if
[[
!
-e
${
work_dir
}
/build.
${
1
}
_
${
arch
}
]]
;
then
...
...
configs/releng/build.sh
View file @
b200ce82
...
...
@@ -14,6 +14,8 @@ arch=$(uname -m)
verbose
=
""
script_path
=
$(
readlink
-f
${
0
%/*
}
)
umask
0022
_usage
()
{
echo
"usage
${
0
}
[options]"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment