cli: Extracting image as non-root fails on directory permissions
cli: Extracting image as non-root fails on directory permissions

Some images have non-writable directories, due to the way that root
can write to read only directories. When extracting contents from an
image as a non-root user where the directory was r-x we would get a
permission denied error. Make the extract logic union our mode bits
so that the current user can write the directory.

dinhxuanvu/origin,ironcladlou/origin,enj/origin,sjug/origin,dinhxuanvu/origin,tnozicka/origin,markllama/origin,imcsk8/origin,luciddreamz/origin,Miciah/origin,kargakis/origin,openshift/origin,nak3/origin,deads2k/origin,childsb/origin,tnozicka/origin,soltysh/origin,ramr/origin,jeremyeder/origin,luciddreamz/origin,childsb/origin,imcsk8/origin,akram/origin,Miciah/origin,enj/origin,jsafrane/origin,mkumatag/origin,jim-minter/origin,ramr/origin,spadgett/origin,hroyrh/origin,linzhaoming/origin,mfojtik/origin,JacobTanenbaum/origin,csrwng/origin,sdminonne/origin,openshift/origin,sferich888/origin,childsb/origin,markllama/origin,deads2k/origin,tnozicka/origin,sferich888/origin,ironcladlou/origin,gabemontero/origin,dinhxuanvu/origin,tnozicka/origin,tnozicka/origin,bparees/origin,akram/origin,imcsk8/origin,dinhxuanvu/origin,jeremyeder/origin,ramr/origin,jsafrane/origin,sallyom/origin,liangxia/origin,akram/origin,spadgett/origin,anpingli/origin,sdminonne/origin,kargakis/origin,csrwng/origin,childsb/origin,liangxia/origin,dinhxuanvu/origin,anpingli/origin,nak3/origin,luciddreamz/origin,ramr/origin,imcsk8/origin,coreydaley/origin,spadgett/origin,spadgett/origin,linzhaoming/origin,luciddreamz/origin,coreydaley/origin,liangxia/origin,mfojtik/origin,hroyrh/origin,imcsk8/origin,markllama/origin,nak3/origin,pweil-/origin,liangxia/origin,bparees/origin,kargakis/origin,pweil-/origin,liangxia/origin,mkumatag/origin,luciddreamz/origin,tnozicka/origin,mahak/origin,sjug/origin,enj/origin,mahak/origin,pecameron/origin,jim-minter/origin,sdminonne/origin,xiuwang/origin,mkumatag/origin,sallyom/origin,ingvagabund/origin,aveshagarwal/origin,gabemontero/origin,linzhaoming/origin,mfojtik/origin,csrwng/origin,sjug/origin,aveshagarwal/origin,mahak/origin,jeremyeder/origin,Miciah/origin,ramr/origin,kargakis/origin,linzhaoming/origin,JacobTanenbaum/origin,deads2k/origin,soltysh/origin,childsb/origin,pecameron/origin,imcsk8/origin,soltysh/origin,markllama/origin,spadgett/origin,pweil-/origin,sferich888/origin,gabemontero/origin,aveshagarwal/origin,ingvagabund/origin,JacobTanenbaum/origin,sallyom/origin,markllama/origin,ironcladlou/origin,hroyrh/origin,aveshagarwal/origin,xiuwang/origin,pecameron/origin,jsafrane/origin,coreydaley/origin,aveshagarwal/origin,kargakis/origin,jeremyeder/origin,liangxia/origin,childsb/origin,linzhaoming/origin,jeremyeder/origin,bparees/origin,markllama/origin,luciddreamz/origin,ingvagabund/origin,openshift/origin,kargakis/origin,xiuwang/origin,jim-minter/origin,anpingli/origin