fixing /scratch permissions