Update perms for group read (#1876)
This commit is contained in:
parent
99513f64fd
commit
4ac01ed880
|
@ -74,7 +74,7 @@ func NewClient(config *csconfig.DatabaseCfg) (*Client, error) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//Always try to set permissions to simplify a bit the code for windows (as the permissions set by OpenFile will be garbage)
|
//Always try to set permissions to simplify a bit the code for windows (as the permissions set by OpenFile will be garbage)
|
||||||
if err := setFilePerm(config.DbPath, 0600); err != nil {
|
if err := setFilePerm(config.DbPath, 0640); err != nil {
|
||||||
return &Client{}, fmt.Errorf("unable to set perms on %s: %v", config.DbPath, err)
|
return &Client{}, fmt.Errorf("unable to set perms on %s: %v", config.DbPath, err)
|
||||||
}
|
}
|
||||||
var sqliteConnectionStringParameters string
|
var sqliteConnectionStringParameters string
|
||||||
|
|
Loading…
Reference in a new issue