set perms on stache dir