do_lxcapi_create: set umask
Always use 022 as the umask when creating the rootfs directory and
executing the template. A too loose umask may cause security issues.
A too strict umask may cause programs to fail inside the container.
Signed-off-by:
Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
Showing
Please
register
or
sign in
to comment