Use correct permission mask to allow docker to execute against bind
This commit is contained in:
parent
151be4a458
commit
ca17d8ca5d
|
@ -561,7 +561,7 @@ func (fs *Filesystem) EnsureDataDirectory() error {
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
// Create the server data directory because it does not currently exist
|
// Create the server data directory because it does not currently exist
|
||||||
// on the system.
|
// on the system.
|
||||||
if err := os.MkdirAll(fs.Path(), 0600); err != nil {
|
if err := os.MkdirAll(fs.Path(), 0700); err != nil {
|
||||||
return errors.WithStack(err)
|
return errors.WithStack(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user