fixing directory perms for discern