change allowed dirs.