Adapt ensure-dirs to accomodate the additional permissions and files
Adapt ensure-dirs to accomodate the additional permissions and files

Please note that this can and will be improved over time. There are discussions
about automated file generation of ensure-dirs so we can _really_ keep all the
permissions and file ownerships in one place. Because right now they are all
in this file _and_ on every WriteFile call.

Signed-off-by: René Nussbaumer <bc755ac45a0e799d1d490cba76febc56d80cc5fc@google.com>
Reviewed-by: Michael Hanselmann <68b67885ff74281219b4a4be33cc20fd45078d7c@google.com>

leshchevds/ganeti,ganeti/ganeti,yiannist/ganeti,bitemyapp/ganeti,onponomarev/ganeti,mbakke/ganeti,apyrgio/ganeti,dimara/ganeti,grnet/snf-ganeti,ganeti/ganeti,leshchevds/ganeti,yiannist/ganeti,apyrgio/ganeti,andir/ganeti,apyrgio/snf-ganeti,ganeti-github-testing/ganeti-test-1,andir/ganeti,bitemyapp/ganeti,onponomarev/ganeti,ganeti-github-testing/ganeti-test-1,mbakke/ganeti,leshchevds/ganeti,yiannist/ganeti,dimara/ganeti,ganeti/ganeti,mbakke/ganeti,apyrgio/snf-ganeti,andir/ganeti,grnet/snf-ganeti