Skip to content

Conversation

estesp
Copy link
Contributor

@estesp estesp commented Aug 23, 2016

Fixes #25847

Warn the user and fail daemon start if the graphdir path has any
elements which will deny access to the remapped root uid/gid.

Docker-DCO-1.1-Signed-off-by: Phil Estes estesp@linux.vnet.ibm.com

@estesp
Copy link
Contributor Author

estesp commented Aug 23, 2016

ping @justincormack per your comment in the issue noted--this errors out after checking world "x" (or ownership/group access).

@justincormack
Copy link
Contributor

LGTM

@vdemeester
Copy link
Member

LGTM 🐮

@justincormack
Copy link
Contributor

Janky is complaining

@estesp
Copy link
Contributor Author

estesp commented Aug 24, 2016

Interesting--looks like I'm the first user of docker/pkg/system.Stat from common code that is built for darwin; will fix

estesp added 2 commits August 24, 2016 11:25
darwin had unbuildable support for our system.Stat() implementation.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
Warn the user and fail daemon start if the graphdir path has any
elements which will deny access to the remapped root uid/gid.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com>
@estesp estesp force-pushed the fail-on-graphdir-perms branch from d475c90 to 43a1df6 Compare August 24, 2016 15:25
@vdemeester
Copy link
Member

LGTM 🐱

@vdemeester vdemeester merged commit 4a1b048 into moby:master Aug 24, 2016
@estesp estesp deleted the fail-on-graphdir-perms branch August 24, 2016 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants