ACCESS-193: Set hive.scratch.dir.permission and add that to the restrict list from the access session hook