While I would consider this to be the responsibility of the calling recipe, in order to set the right directory owner and permissions, what about setting `recursive true` here, so that all possibly nested directories get created?