Normalizing some directory and file permission usage