Fix mode when creating temporary directory
Fix mode when creating temporary directory

When we create a random container directory with mkdtemp() we set the mode to
0770 otherwise do_lxcapi_clone() will complain about not being able to create
the config.

Signed-off-by: Christian Brauner <94aca18939fc64aa4df96ea8cb026da8a2e1541a@gmail.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

ysbnim/lxc,thmo/lxc,cjwatson/lxc,GreatFruitOmsk/lxc,tych0/lxc,GreatFruitOmsk/lxc,bostjan/lxc,hallyn/lxc,Distrotech/lxc,ksperis/lxc,cjwatson/lxc,caglar10ur/lxc,tych0/lxc,Distrotech/lxc,thmo/lxc,aeris/lxc,akshaykarle/lxc,hfuCN/lxc,hallyn/lxc,caglar10ur/lxc,LynxChaus/lxc,armcc/lxc,QingweiPeterLan/cs188-lxc,LynxChaus/lxc,cjwatson/lxc,aeris/lxc,terceiro/lxc,ksperis/lxc,thmo/lxc,hallyn/lxc,ysbnim/lxc,bostjan/lxc,aeris/lxc,ss1h2a3tw/lxc,federicobriata/lxc,bostjan/lxc,GreatFruitOmsk/lxc,hfuCN/lxc,federicobriata/lxc,akshaykarle/lxc,armcc/lxc,armcc/lxc,tych0/lxc,ss1h2a3tw/lxc,terceiro/lxc,federicobriata/lxc,akshaykarle/lxc,QingweiPeterLan/cs188-lxc,LynxChaus/lxc,Distrotech/lxc,hfuCN/lxc,terceiro/lxc,QingweiPeterLan/cs188-lxc,ysbnim/lxc,ss1h2a3tw/lxc,ksperis/lxc,caglar10ur/lxc