mirror of
https://github.com/docker/cli.git
synced 2026-09-27 17:56:04 -04:00
LCOW: Create layer folders with correct ACL
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: ed10ac6ee93cf5c389a735c0c97b08d5d5dff3a9 Component: engine
This commit is contained in:
@@ -190,6 +190,7 @@ func (d *Driver) Create(id, parent string, opts *graphdriver.CreateOpts) error {
|
||||
// Make sure layers are created with the correct ACL so that VMs can access them.
|
||||
layerPath := d.dir(id)
|
||||
logrus.Debugf("lcowdriver: create: id %s: creating layerPath %s", id, layerPath)
|
||||
// Make sure the layers are created with the correct ACL so that VMs can access them.
|
||||
if err := system.MkdirAllWithACL(layerPath, 755, system.SddlNtvmAdministratorsLocalSystem); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user