Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Thomas Basler
ISPConfig 3
Commits
32048fac
Commit
32048fac
authored
Mar 23, 2021
by
Jesse Norell
Browse files
updater: reset umask after creating tmpdir
parent
c40198b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/scripts/update_runner.sh
View file @
32048fac
...
...
@@ -40,10 +40,12 @@ cd /tmp
if
[
-n
"
${
_UPD
}
"
]
then
{
save_umask
=
`
umask
`
umask
0077
\
&&
tmpdir
=
`
mktemp
-dt
"
$(
basename
$0
)
.XXXXXXXXXX"
`
\
&&
test
-d
"
${
tmpdir
}
"
\
&&
cd
"
${
tmpdir
}
"
umask
$save_umask
}
||
{
echo
'mktemp failed'
exit
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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