Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add command line and configuration option to set umask
Issue #1048 identified that files created by keepalived are created with mode 0666. This commit changes the default to 0644, and also allows the umask to be specified in the configuration or as a command line option. Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
- Loading branch information
Showing
with
130 additions
and 4 deletions.
- +4 −0 doc/keepalived.conf.SYNOPSIS
- +6 −0 doc/man/man5/keepalived.conf.5
- +4 −0 doc/man/man8/keepalived.8
- +1 −0 keepalived/core/global_data.c
- +73 −0 keepalived/core/global_parser.c
- +40 −4 keepalived/core/main.c
- +1 −0 keepalived/include/global_data.h
- +1 −0 keepalived/include/main.h