Fixed directory mode for automatically added parent directories