Fix Config object permissions
This change fixes a bug where the default file and directory permissions weren't getting added (if missing) to the Config object at runtime. Change-Id: I87ed2f40af9fe079baade67c506a19de427c4e64
This commit is contained in:
parent
edd0b84d84
commit
fbdff6c38e
@ -66,6 +66,10 @@ func NewEmptyConfig() *Config {
|
|||||||
Manifests: map[string]*Manifest{},
|
Manifests: map[string]*Manifest{},
|
||||||
Contexts: map[string]*Context{},
|
Contexts: map[string]*Context{},
|
||||||
fileSystem: fs.NewDocumentFs(),
|
fileSystem: fs.NewDocumentFs(),
|
||||||
|
Permissions: Permissions{
|
||||||
|
DirectoryPermission: AirshipDefaultDirectoryPermission,
|
||||||
|
FilePermission: AirshipDefaultFilePermission,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user