mirror of
https://github.com/containers/podman.git
synced 2025-06-23 18:59:30 +08:00

This vendor will improve the performance of using userns since it will save aside the image layer of the chown, so followup runnings of podman will use the new layer rather then chowning again. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #881 Approved by: mheon
15 lines
273 B
Go
15 lines
273 B
Go
// +build windows
|
|
|
|
package graphdriver
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
|
|
"github.com/containers/storage/pkg/idtools"
|
|
)
|
|
|
|
func platformLChown(path string, info os.FileInfo, toHost, toContainer *idtools.IDMappings) error {
|
|
return &os.PathError{"lchown", path, syscall.EWINDOWS}
|
|
}
|