moby--moby/volume
Antonis Kalipetis 72d8a77d52
Make host directory mounts use idtools.MkdirAllNewAs
This makes sure that:
1. Already existing directories are left untouched
2. Newly created directories are chowned to the correct root UID/GID in case of user namespaces
3. All parent directories still get created with host root UID/GID

Fix #21738

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-09-05 12:46:57 +03:00
..
drivers Reorganize plugin package into sub packages. 2016-08-27 11:08:08 -07:00
local Add requested comments about old buggy behavior 2016-08-18 10:07:22 -04:00
store Add `--force` in `docker volume rm` to fix out-of-band volume driver deletion 2016-08-18 18:01:25 -07:00
testutils Add support for volume scopes 2016-06-05 15:37:15 -04:00
volume.go Make host directory mounts use idtools.MkdirAllNewAs 2016-09-05 12:46:57 +03:00
volume_copy.go
volume_propagation_linux.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_propagation_linux_test.go
volume_propagation_unsupported.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_test.go Windows: Remove TP4 support from test code 2016-04-11 15:36:31 -07:00
volume_unix.go revendor engine-api 2016-08-16 14:16:12 -04:00
volume_windows.go Windows: Support RO volumes 14350+ 2016-06-07 14:55:36 -07:00