Fix overlay and user namespace permissions
Fix overlay and user namespace permissions

All underlay dirs need proper remapped ownership. This bug was masked by the
fact that the setupInitLayer code was chown'ing the dirs at startup
time. Since that bug is now fixed, it revealed this permissions issue.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)

zhuohual/docker,LuisBosquez/docker.github.io,clintonskitson/docker,KarthikNayak/docker,toli/docker,yp-engineering/docker,allencloud/docker,arun-gupta/docker,yosifkit/docker,mohmost12/docker,s7v7nislands/docker,gjaskiewicz/moby,sanscontext/docker.github.io,izarov/docker,mgoelzer/docker,johnstep/docker.github.io,ndeloof/docker,containers/storage,mssola/docker,twaugh/docker,shin-/docker.github.io,darrenstahlmsft/moby,moby/moby,stevvooe/docker,icaoweiwei/docker,imeoer/hypercli,vdemeester/docker,dbonev/docker,kyle-wang/docker,fangyuan930917/docker,dongjoon-hyun/docker,Mokolea/docker,unclejack/docker,ailispaw/docker,shubheksha/docker.github.io,amatsus/docker,pramodhkp/moby,alfred-landrum/docker,docker-zh/docker.github.io,kolyshkin/docker,jzwlqx/denverdino.github.io,michael-holzheu/docker,rhuss/docker,noxiouz/docker,rhuss/docker,jhorwit2/docker,13W/docker,anweiss/docker.github.io,cyli/docker,xiekeyang/docker,sunyuan3/docker,luxas/docker,rremer/moby,moul/docker,pecameron/docker,maxamillion/docker,bluebreezecf/docker,duglin/docker,projectatomic/docker,errordeveloper/docker,anweiss/docker.github.io,errordeveloper/docker,Tenk42/docker,tpounds/docker,rickyzhang82/docker,13W/docker,ZJU-SEL/docker,londoncalling/docker.github.io,x1022as/docker,ZJUshuaizhou/docker,noironetworks/docker,thaJeztah/docker,softprops/docker,docker/docker,maxamillion/docker,angryxlt/docker,thaJeztah/docker.github.io,shubheksha/docker.github.io,charleszheng44/moby,carolfh/docker,containers/storage,sanjeo/docker,jecarey/docker,dims/docker,ncdc/docker,angryxlt/docker,imeoer/hypercli,darrenstahlmsft/moby,sterchelen/docker,asbjornenge/docker,coolljt0725/docker,kerneltime/docker,jvanz/docker,kojiromike/docker,tpounds/docker,dmcgowan/docker,mkumatag/docker,abhinavdahiya/docker,thaJeztah/docker.github.io,sdurrheimer/docker,mahak/docker,twaugh/docker,pramodhkp/moby,stainboy/docker,jzwlqx/denverdino.github.io,laijs/moby,splunk/docker,swasd/baleno,OnePaaS/docker,csfrancis/docker,toli/docker,geekylucas/docker,rhatdan/storage,flavio/docker,JimGalasyn/docker.github.io,mgoelzer/docker,Ramzec/docker,mgoelzer/docker,nalind/docker,mohmost12/docker,xiekeyang/docker,nghiant2710/docker,noxiouz/docker,joeuo/docker.github.io,jloehel/docker,laijs/moby,bonczj/moby-json-file-logger,gdevillele/docker.github.io,denverdino/denverdino.github.io,bearstech/moby,mathewkoshy493/docker,swasd/baleno,TheBigBear/docker,flavio/docker,13W/docker,lixiaobing10051267/docker,mikedougherty/docker,dnephin/docker,nigelpoulton/docker,phiroict/docker,Collinux/docker,izarov/docker,SaiedKazemi/docker,joeuo/docker.github.io,BSWANG/denverdino.github.io,dccurtis/docker,bfirsh/docker,ColinHebert/docker,vijaykilari/docker,ajneu/docker,mtesselH/docker,willmtemple/docker,rillig/docker.github.io,mariusGundersen/docker,hustcat/docker,SvenDowideit/docker,vijaykilari/docker,joaofnfernandes/docker.github.io,cyphar/docker,anortef/docker,konstruktoid/docker-upstream,sanjeo/docker,SaiedKazemi/docker,mikebrow/docker,gdevillele/docker.github.io,YujiOshima/docker,rillig/docker.github.io,sanscontext/docker.github.io,Syntaxide/docker,JimGalasyn/docker.github.io,danyalKhaliq10p/moby,JMesser81/docker,cpuguy83/docker,moby/moby,tonistiigi/docker,xiaods/docker,tophj-ibm/docker,KingEmet/docker,Microsoft/docker,dgageot/docker,anujbahuguna/docker,kerneltime/docker,johnstep/docker.github.io,thtanaka/docker,gjaskiewicz/moby,ivansaracino/docker,scotttlin/docker,erikstmartin/docker,mikebrow/docker,unclejack/docker,sdurrheimer/docker,BenHall/docker,POLJM242/docker,lixiaobing1/docker,tophj-ibm/moby,afein/docker,erikh/docker,Ramzec/docker,dsheets/moby,kencochrane/docker,14rcole/docker,Mashimiao/docker,tklauser/docker,raja-sami-10p/moby,ZJUshuaizhou/docker,nalind/docker,BrianBland/docker,ailispaw/docker,michelvocks/docker,medallia/docker,lixiaobing10051267/docker,djs55/docker,sanscontext/docker.github.io,dongjoon-hyun/docker,AkihiroSuda/docker,vincentwoo/docker,mikebrow/docker,yosifkit/docker,pyotr777/docker,nguyentm83/docker,raja-sami-10p/moby,erikstmartin/docker,zhuohual/docker,POLJM242/docker,haveatry/docker,laijs/docker,kencochrane/docker,naveed-jamil-tenpearls/moby,jameszhan/docker,qudongfang/docker,aaronlehmann/docker,hyperhq/hypercli,zhuguihua/docker,mssola/docker,pecameron/docker,tonistiigi/docker,bdwill/docker.github.io,14rcole/docker,HackToday/docker,BSWANG/denverdino.github.io,cr7pt0gr4ph7/docker,Altiscale/docker,Tenk42/docker,ibuildthecloud/docker,cloudflare/docker,kencochrane/docker,docker/docker.github.io,tklauser/docker,konstruktoid/docker-1,mstanleyjones/docker,sallyom/docker,SvenDowideit/docker,cyli/docker,contiv/docker,pyotr777/docker,pragyasardana/Docker-cr-combined,dims/docker,gao-feng/docker,x1022as/docker,danix800/docker.github.io,zhangjianfnst/docker,trebonian/docker,mixja/docker,LaynePeng/docker,konstruktoid/docker-upstream,denverdino/docker.github.io,coreos/docker,ZJU-SEL/docker,HuKeping/docker,johnstep/docker.github.io,johnstep/moby-moby,lixiaobing1/docker,portworx/docker,mikedanese/docker,tianon/docker,BSWANG/denverdino.github.io,paralin/docker,pradipd/moby,hypriot/docker,msabansal/docker,jloehel/docker,docker-zh/docker.github.io,jlebon/docker,miminar/docker,containers/storage,zhuguihua/docker,gdevillele/docker.github.io,ajneu/docker,nawawi/docker,tkopczynski/docker,izarov/docker,arun-gupta/docker,HideoYamauchi/docker,rillig/docker.github.io,coolljt0725/docker,troy0820/docker.github.io,mtesselH/docker,geekylucas/docker,asbjornenge/docker,phiroict/docker,HideoYamauchi/docker,liaoqingwei/docker,tmp6154/docker,sarnautov/moby,prertik/docker,gnailuy/docker,mssola/docker,johnstep/docker.github.io,Jimmy-Xu/hypercli,mtanlee/docker,diogomonica/docker,menglingwei/denverdino.github.io,rremer/moby,vincentwoo/docker,estesp/docker,ailispaw/docker,gjaskiewicz/moby,jongiddy/docker,laijs/docker,jimjag/docker,hyperhq/hypercli,estesp/docker,amatsus/docker,jasonamyers/docker,icecrime/docker,stevvooe/docker,djs55/docker,yp-engineering/docker,cr7pt0gr4ph7/docker,rhatdan/docker,tagomoris/docker,icaoweiwei/docker,LuisBosquez/docker.github.io,raja-sami-10p/moby,madhanrm/docker,Neverous/docker,jimjag/docker,unclejack/docker,icecrime/docker,phiroict/docker,gnailuy/docker,sunyuan3/docker,mkumatag/docker,amatsus/docker,moxiegirl/docker,harche/docker,jvanz/docker,supasate/docker,vdemeester/docker,supasate/docker,thaJeztah/docker.github.io,BenHall/docker,LaynePeng/docker,jameseggers/docker,ajneu/docker,askb/docker,thtanaka/docker,mathewkoshy493/docker,anusha-ragunathan/docker,ibuildthecloud/docker,rillig/docker.github.io,OnePaaS/docker,HackToday/docker,Mokolea/docker,ckeyer/docker,Akasurde/docker,scollier/docker,justincormack/docker,TheBigBear/docker,carolfh/docker,mbanikazemi/docker,splunk/docker,nghiant2710/docker,sfsmithcha/docker,LuisBosquez/docker.github.io,Jimmy-Xu/hypercli,cpswan/docker,dccurtis/docker,michael-holzheu/docker,justincormack/docker,catinthesky/docker,achanda/docker,mtanlee/docker,bfirsh/docker,paralin/docker,pramodhkp/moby,bonczj/moby-json-file-logger,ajaymdesai/docker,ncdc/docker,HackToday/docker,prertik/docker,naveed-jamil-tenpearls/moby,anortef/docker,jthelin/docker,rancher/docker,jhorwit2/docker,msabansal/docker,KarthikNayak/docker,aidanhs/docker,dsheets/moby,aditirajagopal/docker,akira-baruah/docker,inatatsu/docker,moypray/docker,sfsmithcha/docker,YuPengZTE/docker,toli/docker,docker-zh/docker.github.io,bdwill/docker.github.io,contiv/docker,liaoqingwei/docker,cmehay/docker-1,coolljt0725/docker,justincormack/docker,skatsuta/docker,kimh/docker,hustcat/docker,softprops/docker,jc-m/docker,dsau/docker,joeuo/docker.github.io,haveatry/docker,Test-Betta-Inc/psychic-barnacle,hqhq/moby,konstruktoid/docker-1,joaofnfernandes/docker.github.io,jasonamyers/docker,anweiss/docker.github.io,PatrickLang/moby,shhsu/docker,rhatdan/docker,errordeveloper/docker,csfrancis/docker,vijaykilari/docker,jwhonce/docker,resin-io/docker,Morsicus/docker,shin-/docker.github.io,isubuz/docker,gdevillele/docker.github.io,stainboy/docker,kimh/docker,nawawi/docker,fangyuan930917/docker,charleswhchan/docker,justyntemme/docker,docker-zh/docker.github.io,Neverous/docker,sean-jc/docker,mkumatag/docker,qudongfang/docker,moby/moby,srust/docker,LuisBosquez/docker.github.io,denverdino/denverdino.github.io,troy0820/docker.github.io,eskaaren/docker,nguyentm83/docker,achanda/docker,danix800/docker.github.io,nalind/docker,moxiegirl/docker,jloehel/docker,dperny/docker,YuPengZTE/docker,sarnautov/moby,menglingwei/denverdino.github.io,Morsicus/docker,shin-/docker.github.io,sdurrheimer/docker,moul/docker,tophj-ibm/moby,alfred-landrum/docker,endophage/docker,TrumanLing/docker,anortef/docker,madhanrm/docker,gdevillele/docker.github.io,tkopczynski/docker,Jimmy-Xu/hypercli,fsoppelsa/docker,ffoysal/docker,runcom/docker,jzwlqx/denverdino.github.io,umerazad/docker,jecarey/docker,denverdino/denverdino.github.io,AkihiroSuda/docker,kolyshkin/moby,bdwill/docker.github.io,xuxinkun/docker,menglingwei/denverdino.github.io,imkin/moby,moypray/docker,denverdino/denverdino.github.io,harche/docker,ItsVeryWindy/docker,srust/docker,bonczj/moby-json-file-logger,gschaetz/moby,tmp6154/docker,mikedougherty/docker,Aegeaner/docker,tonistiigi/docker,naveed-jamil-tenpearls/moby,miminar/docker,erikh/docker,Morsicus/docker,jameszhan/docker,shishir-a412ed/docker,nghiant2710/docker,aaronlehmann/docker,mtrmac/docker,cyphar/docker,joeuo/docker.github.io,mikedanese/docker,mahak/docker,moul/docker,rhardih/docker,mikedougherty/docker,gnailuy/docker,DoraALin/docker,troy0820/docker.github.io,solganik/docker,mike1729/docker,shhsu/docker,ibuildthecloud/docker,hypriot/docker,menglingwei/denverdino.github.io,ajaymdesai/docker,rkazak/docker,cyli/docker,charleswhchan/docker,sheimi/docker,projectatomic/docker,Shopify/docker,TrumanLing/docker,YujiOshima/docker,alexisbellido/docker.github.io,ItsVeryWindy/docker,brahmaroutu/docker,kolyshkin/moby,johnstep/docker.github.io,hallyn/docker,jc-m/docker-medallia,jameseggers/docker,KingEmet/docker,KarthikNayak/docker,hallyn/docker,rhardih/docker,stainboy/docker,denverdino/docker.github.io,13W/docker,lixiaobing10051267/docker,miminar/docker,willmtemple/docker,noironetworks/docker,achanda/docker,whuwxl/docker,ColinHebert/docker,crosbymichael/docker,Shopify/docker,mohmost12/docker,alexisbellido/docker.github.io,ItsVeryWindy/docker,AkihiroSuda/docker,jongiddy/docker,laijs/docker,dims/docker,13W/docker,jongiddy/docker,mixja/docker,TheBigBear/docker,coreos/docker,aduermael/docker.github.io,konstruktoid/docker-upstream,diogomonica/docker,shin-/docker.github.io,Distrotech/docker,x1022as/docker,kunalkushwaha/docker,q384566678/docker,coreos/docker,phiroict/docker,tophj-ibm/docker,cpuguy83/docker,kyle-wang/docker,yosifkit/docker,diogomonica/docker,harche/docker,kolyshkin/docker,HuKeping/docker,sanscontext/docker.github.io,dsheets/moby,medallia/docker,arun-gupta/docker,isubuz/docker,upmio/docker,Tenk42/docker,Syntaxide/docker,kimh/docker,mstanleyjones/docker,dccurtis/docker,endophage/docker,johnstep/moby-moby,msabansal/docker,projectatomic/docker,wenchma/docker,alexisbellido/docker.github.io,shubheksha/docker.github.io,cpswan/docker,fsoppelsa/docker,charleszheng44/moby,s7v7nislands/docker,rhatdan/storage,tagomoris/docker,solganik/docker,cmehay/docker-1,docker/docker.github.io,justyntemme/docker,wenchma/docker,ripcurld0/moby,clintonskitson/docker,paralin/docker,gschaetz/moby,willmtemple/docker,jc-m/docker,yummypeng/docker,kolyshkin/moby,YujiOshima/docker,tpounds/docker,afein/docker,darrenstahlmsft/moby,docker/docker.github.io,HideoYamauchi/docker,sanscontext/docker.github.io,jc-m/docker,shhsu/docker,tagomoris/docker,LuisBosquez/docker.github.io,shubheksha/docker.github.io,YuPengZTE/docker,jlebon/docker,danix800/docker.github.io,swasd/baleno,mathewkoshy493/docker,gigidwan/docker,darrenstahlmsft/docker,davinashreddy/docker,fcrisciani/docker,joaofnfernandes/docker.github.io,charleszheng44/moby,clintonskitson/docker,gao-feng/docker,yongtang/docker,londoncalling/docker.github.io,hyperhq/hypercli,mike1729/docker,rhatdan/docker,dongjoon-hyun/docker,thaJeztah/docker.github.io,tophj-ibm/moby,Collinux/docker,aduermael/docker.github.io,medallia/docker,BSWANG/denverdino.github.io,jlebon/docker,docker/docker.github.io,ktraghavendra/docker,upmio/docker,moxiegirl/docker,isubuz/docker,denverdino/denverdino.github.io,mtesselH/docker,thtanaka/docker,zhangjianfnst/docker,afein/docker,sanjeo/docker,imkin/moby,portworx/docker,anujbahuguna/docker,ckeyer/docker,denverdino/docker.github.io,nawawi/docker,SaiedKazemi/docker,ckeyer/docker,AkihiroSuda/docker,estesp/docker,umerazad/docker,endocode/docker,fangyuan930917/docker,yummypeng/docker,hallyn/docker,tkopczynski/docker,SvenDowideit/docker,xiekeyang/docker,pyotr777/docker,Ramzec/docker,ncdc/docker,bearstech/moby,shishir-a412ed/docker,bfirsh/docker,erikh/docker,aidanhs/docker,kunalkushwaha/docker,ajaymdesai/docker,hqhq/moby,umerazad/docker,jimjag/docker,mbanikazemi/docker,sunyuan3/docker,Test-Betta-Inc/psychic-barnacle,londoncalling/docker.github.io,mtrmac/docker,Aegeaner/docker,tklauser/docker,DoraALin/docker,jhorwit2/docker,vincentwoo/docker,mtanlee/docker,menglingwei/denverdino.github.io,Microsoft/docker,ivansaracino/docker,dmcgowan/docker,zhangjianfnst/docker,ColinHebert/docker,bdwill/docker.github.io,rkazak/docker,cloudflare/docker,fsoppelsa/docker,upmio/docker,aditirajagopal/docker,Ramzec/docker,dsau/docker,gigidwan/docker,phiroict/docker,jwhonce/docker,yummypeng/docker,rremer/moby,rhatdan/storage,sarnautov/moby,bearstech/moby,whuwxl/docker,cnaize/docker,xiaods/docker,carolfh/docker,askb/docker,pradipd/moby,xuxinkun/docker,bluebreezecf/docker,shin-/docker.github.io,mbanikazemi/docker,stevvooe/docker,sheimi/docker,mixja/docker,docker/docker,trebonian/docker,eskaaren/docker,sfsmithcha/docker,scollier/docker,anweiss/docker.github.io,cnaize/docker,tmp6154/docker,twaugh/docker,JeffBellegarde/docker,ktraghavendra/docker,maxamillion/docker,sterchelen/docker,JMesser81/docker,Akasurde/docker,dperny/docker,rancher/docker,gigidwan/docker,ffoysal/docker,ndeloof/docker,allencloud/docker,ripcurld0/moby,brahmaroutu/docker,JMesser81/docker,tianon/docker,inatatsu/docker,mike1729/docker,solganik/docker,noironetworks/docker,thaJeztah/docker,bluebreezecf/docker,tophj-ibm/docker,jlhawn/docker,yosifkit/docker,ibuildthecloud/docker,denverdino/docker.github.io,crosbymichael/docker,denverdino/docker.github.io,skatsuta/docker,whuwxl/docker,BrianBland/docker,bdwill/docker.github.io,yasiramin10p/moby,gao-feng/docker,JeffBellegarde/docker,abhinavdahiya/docker,supasate/docker,jthelin/docker,Mokolea/docker,LaynePeng/docker,anusha-ragunathan/docker,OnePaaS/docker,fcrisciani/docker,scotttlin/docker,tbonza/docker,catinthesky/docker,alexisbellido/docker.github.io,yongtang/docker,fcrisciani/docker,hustcat/docker,michael-holzheu/docker,sean-jc/docker,Test-Betta-Inc/psychic-barnacle,dnephin/docker,pragyasardana/Docker-cr-combined,noxiouz/docker,dbonev/docker,docker/docker,portworx/docker,shubheksha/docker.github.io,Shopify/docker,moul/docker,luxas/docker,dmcgowan/docker,michelvocks/docker,ZJUshuaizhou/docker,allencloud/docker,davinashreddy/docker,ktraghavendra/docker,runcom/docker,csfrancis/docker,sallyom/docker,madhanrm/docker,Mokolea/docker,thaJeztah/docker.github.io,mtrmac/docker,jwhonce/docker,jzwlqx/denverdino.github.io,srust/docker,BrianBland/docker,erikstmartin/docker,cpuguy83/docker,thaJeztah/docker,ivansaracino/docker,trebonian/docker,sterchelen/docker,pecameron/docker,cnaize/docker,tbonza/docker,mariusGundersen/docker,kojiromike/docker,yp-engineering/docker,pragyasardana/Docker-cr-combined,sallyom/docker,icaoweiwei/docker,KingEmet/docker,imeoer/hypercli,darrenstahlmsft/docker,alexisbellido/docker.github.io,cpuguy83/docker,kojiromike/docker,crosbymichael/docker,paralin/docker,danyalKhaliq10p/moby,ripcurld0/moby,inatatsu/docker,anweiss/docker.github.io,michelvocks/docker,darrenstahlmsft/docker,xuxinkun/docker,jameszhan/docker,jlhawn/docker,shishir-a412ed/docker,dperny/docker,aaronlehmann/docker,trebonian/docker,davinashreddy/docker,docker-zh/docker.github.io,resin-io/docker,cloudflare/docker,DoraALin/docker,kunalkushwaha/docker,moby/moby,catinthesky/docker,mahak/docker,yasiramin10p/moby,contiv/docker,akira-baruah/docker,joaofnfernandes/docker.github.io,zhuguihua/docker,lixiaobing1/docker,jimjag/docker,xiaods/docker,luxas/docker,BSWANG/denverdino.github.io,BenHall/docker,cyphar/docker,cmehay/docker-1,sean-jc/docker,prertik/docker,nigelpoulton/docker,bearstech/moby,mariusGundersen/docker,danix800/docker.github.io,rickyzhang82/docker,haveatry/docker,Syntaxide/docker,rancher/docker,q384566678/docker,alfred-landrum/docker,dgageot/docker,konstruktoid/docker-1,brahmaroutu/docker,thaJeztah/docker,londoncalling/docker.github.io,rkazak/docker,softprops/docker,JimGalasyn/docker.github.io,splunk/docker,nigelpoulton/docker,joeuo/docker.github.io,yasiramin10p/moby,troy0820/docker.github.io,yongtang/docker,danyalKhaliq10p/moby,anujbahuguna/docker,aidanhs/docker,dsau/docker,docker/docker.github.io,asbjornenge/docker,PatrickLang/moby,HuKeping/docker,jvanz/docker,johnstep/moby-moby,gnailuy/docker,Altiscale/docker,kerneltime/docker,gschaetz/moby,abhinavdahiya/docker,aditirajagopal/docker,runcom/docker,Mashimiao/docker,JeffBellegarde/docker,aduermael/docker.github.io,endophage/docker,duglin/docker,qudongfang/docker,imkin/moby,endocode/docker,icecrime/docker,jzwlqx/denverdino.github.io,dgageot/docker,jlhawn/docker,hqhq/moby,kyle-wang/docker,vdemeester/docker,hypriot/docker,Mashimiao/docker,Akasurde/docker,aduermael/docker.github.io,nalind/docker,joaofnfernandes/docker.github.io,justyntemme/docker,JimGalasyn/docker.github.io,jc-m/docker-medallia,geekylucas/docker,JimGalasyn/docker.github.io,mauidev/docker,djs55/docker,medallia/docker,ibuildthecloud/docker,flavio/docker,konstruktoid/docker-upstream,flavio/docker,sheimi/docker,ndeloof/docker,mahak/docker,scotttlin/docker,mstanleyjones/docker,Altiscale/docker,cr7pt0gr4ph7/docker,q384566678/docker,ffoysal/docker,Collinux/docker,skatsuta/docker,pradipd/moby,endocode/docker,eskaaren/docker,charleswhchan/docker,moypray/docker,liaoqingwei/docker,laijs/moby,PatrickLang/moby,Microsoft/docker,wenchma/docker,Aegeaner/docker,duglin/docker,mauidev/docker,TrumanLing/docker,nawawi/docker,Distrotech/docker,londoncalling/docker.github.io,resin-io/docker,dnephin/docker