Fix name on directory permissions change