github.com/Prakhar-Agarwal-byte/moby@v0.0.0-20231027092010-a14e3e8ab87e/pkg/idtools/idtools_windows.go (about) 1 package idtools // import "github.com/Prakhar-Agarwal-byte/moby/pkg/idtools" 2 3 import ( 4 "os" 5 6 "github.com/Prakhar-Agarwal-byte/moby/pkg/system" 7 ) 8 9 const ( 10 SeTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege" 11 ) 12 13 const ( 14 ContainerAdministratorSidString = "S-1-5-93-2-1" 15 ContainerUserSidString = "S-1-5-93-2-2" 16 ) 17 18 // This is currently a wrapper around MkdirAll, however, since currently 19 // permissions aren't set through this path, the identity isn't utilized. 20 // Ownership is handled elsewhere, but in the future could be support here 21 // too. 22 func mkdirAs(path string, _ os.FileMode, _ Identity, _, _ bool) error { 23 return system.MkdirAll(path, 0) 24 }