1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

builder: remove use of deprecated pkg/system constants

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-11-25 15:40:17 +01:00
parent f572df7c22
commit f22ff19668
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -81,7 +81,7 @@ func fixPermissionsWindows(source, destination, SID string) error {
return err return err
} }
return system.SetNamedSecurityInfo(windows.StringToUTF16Ptr(destination), system.SE_FILE_OBJECT, system.OWNER_SECURITY_INFORMATION|system.DACL_SECURITY_INFORMATION, sid, nil, dacl, nil) return system.SetNamedSecurityInfo(windows.StringToUTF16Ptr(destination), windows.SE_FILE_OBJECT, windows.OWNER_SECURITY_INFORMATION|windows.DACL_SECURITY_INFORMATION, sid, nil, dacl, nil)
} }
func validateCopySourcePath(imageSource *imageMount, origPath, platform string) error { func validateCopySourcePath(imageSource *imageMount, origPath, platform string) error {