Adding perms for upgrade dir