Use correct permission mask to allow docker to execute against bind

This commit is contained in:
Dane Everitt 2019-11-24 21:18:41 -08:00
parent 151be4a458
commit ca17d8ca5d
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -561,7 +561,7 @@ func (fs *Filesystem) EnsureDataDirectory() error {
} else if err != nil {
// Create the server data directory because it does not currently exist
// 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)
}
}