[COOK-3594] Correctly create/set directory permissions that package installations can modify

Signed-off-by: Seth Vargo <sethvargo@gmail.com>