Drop privileges before creating files in solo mode
Drop privileges before creating files in solo mode

Fixes #8360

Signed-off-by: Bryan McLellan <9da9e2973b9c72b95f1bc7169993146760fceeb1@loftninjas.org>

higanworks/chef,MsysTechnologiesllc/chef,mwrock/chef,nvwls/chef,mattray/chef,MsysTechnologiesllc/chef,tas50/chef-1,chef/chef,jaymzh/chef,gene1wood/chef,gene1wood/chef,MsysTechnologiesllc/chef,mattray/chef,tas50/chef-1,chef/chef,gene1wood/chef,mwrock/chef,gene1wood/chef,mattray/chef,higanworks/chef,nvwls/chef,nvwls/chef,jaymzh/chef,jaymzh/chef,tas50/chef-1,nvwls/chef,Tensibai/chef,chef/chef,jaymzh/chef,mattray/chef,Tensibai/chef,MsysTechnologiesllc/chef,Tensibai/chef,mwrock/chef,higanworks/chef,mwrock/chef,tas50/chef-1,mattray/chef,Tensibai/chef,higanworks/chef,nvwls/chef,Tensibai/chef,nvwls/chef,chef/chef,higanworks/chef