1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cmd/dockerd
Salahuddin Khan 763d839261 Add ADD/COPY --chown flag support to Windows
This implements chown support on Windows. Built-in accounts as well
as accounts included in the SAM database of the container are supported.

NOTE: IDPair is now named Identity and IDMappings is now named
IdentityMapping.

The following are valid examples:
ADD --chown=Guest . <some directory>
COPY --chown=Administrator . <some directory>
COPY --chown=Guests . <some directory>
COPY --chown=ContainerUser . <some directory>

On Windows an owner is only granted the permission to read the security
descriptor and read/write the discretionary access control list. This
fix also grants read/write and execute permissions to the owner.

Signed-off-by: Salahuddin Khan <salah@docker.com>
2018-08-13 21:59:11 -07:00
..
hack Add canonical import comment 2018-02-05 16:51:57 -05:00
config.go Add configuration option for containerd cri 2018-07-24 11:34:47 -07:00
config_common_unix.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
config_unix.go Various code-cleanup 2018-05-23 17:50:54 +02:00
config_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
config_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
daemon.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
daemon_freebsd.go Windows: Wait for OOBE to prevent crashing during host update 2017-02-15 14:01:54 -08:00
daemon_linux.go Use go-systemd const instead of magic string in Linux version of dockerd 2018-05-23 19:06:34 +02:00
daemon_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
daemon_unix.go Add configuration option for containerd cri 2018-07-24 11:34:47 -07:00
daemon_unix_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
daemon_windows.go Merge pull request #35253 from Microsoft/jjh/startuplogging 2017-10-23 18:43:41 +02:00
docker.go builder: set buildkit's exported product variable via PRODUCT 2018-07-16 21:41:54 +00:00
docker_unix.go Split daemon service code to _windows file 2018-03-21 12:57:53 +01:00
docker_windows.go Split daemon service code to _windows file 2018-03-21 12:57:53 +01:00
metrics.go Various code-cleanup 2018-05-23 17:50:54 +02:00
options.go Use Cobra built-in --version feature 2018-05-19 03:15:08 +02:00
options_test.go Update tests to use gotest.tools 👼 2018-06-13 09:04:30 +02:00
README.md Fix readme doc for dockerd 2016-09-01 14:47:51 +08:00
service_unsupported.go Split daemon service code to _windows file 2018-03-21 12:57:53 +01:00
service_windows.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00

docker.go contains Docker daemon's main function.

This file provides first line CLI argument parsing and environment variable setting.