Drop umask in favour of mode.
umask cannot set a regular file as executable, nor allows setting suid/sgid/sticky bits. Using chmod properly, there is no security problem.
Showing
Please register or sign in to comment
umask cannot set a regular file as executable, nor allows setting suid/sgid/sticky bits. Using chmod properly, there is no security problem.