Configuration - Changed default mode to 0644
This commit is contained in:
parent
54a808386e
commit
069b64672c
2 changed files with 3 additions and 2 deletions
|
@ -261,7 +261,7 @@ func (c *tCertFileUpdateConfig) Validate(handlers *tHandlers) error {
|
|||
// Return the mode of a certificate file
|
||||
func (c *tCertificateFileConfig) FileMode() os.FileMode {
|
||||
if c.Mode == nil {
|
||||
return 0640
|
||||
return 0644
|
||||
} else {
|
||||
return *c.Mode
|
||||
}
|
||||
|
|
|
@ -76,7 +76,8 @@ certificates:
|
|||
|
||||
# Path to the file to generate
|
||||
- path: /etc/ssl/private/cert1.pem
|
||||
# Access mode, owner and group for the file. May be omitted.
|
||||
# Access mode, owner and group for the file. May be omitted. The mode
|
||||
# will default to 0644 if unspecified.
|
||||
mode: 0640
|
||||
owner: root
|
||||
group: somegroup
|
||||
|
|
Loading…
Reference in a new issue