Fix the dir perms