forked from TrueCloudLab/frostfs-node
[#727] config: Use 0660 as default permissions
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
7a10d902be
commit
67b17cfb02
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ type Config config.Config
|
||||||
// config defaults
|
// config defaults
|
||||||
const (
|
const (
|
||||||
// PermDefault are default permission bits for BlobStor data.
|
// PermDefault are default permission bits for BlobStor data.
|
||||||
PermDefault = 0700
|
PermDefault = 0660
|
||||||
|
|
||||||
// ShallowDepthDefault is a default shallow dir depth.
|
// ShallowDepthDefault is a default shallow dir depth.
|
||||||
ShallowDepthDefault = 4
|
ShallowDepthDefault = 4
|
||||||
|
|
|
@ -13,7 +13,7 @@ type Config config.Config
|
||||||
// config defaults
|
// config defaults
|
||||||
const (
|
const (
|
||||||
// PermDefault is a default permission bits for metabase file.
|
// PermDefault is a default permission bits for metabase file.
|
||||||
PermDefault = 0700
|
PermDefault = 0660
|
||||||
)
|
)
|
||||||
|
|
||||||
// From wraps config section into Config.
|
// From wraps config section into Config.
|
||||||
|
|
Loading…
Reference in a new issue