[CI] more permission fixes

4 jobs for 483-dev-corenlp-in-nix-flake-with-test-user in 37 minutes and 31 seconds (queued for 5 seconds)
Status Job ID Name Coverage
  Cabal
passed #18949
cabal

00:19:46

 
  Stack
passed #18950
stack

00:02:27

 
  Bench
manual #18951
allowed to fail manual
bench
 
  Test
failed #18952
test

00:15:17

 
Name Stage Failure
failed
test Test
stack.yaml updated successfully.
+ [[ eb8fdb1a14aa2f7a13f565cf7fa9f6ab0e2dab9212538aed0db5691015be286b != eb8fdb1a14aa2f7a13f565cf7fa9f6ab0e2dab9212538aed0db5691015be286b ]]
+ echo -e '\e[32mstack.yaml updated successfully.\e[0m'
cabal.project.freeze updated successfully.
+ [[ a5eb1d9a331266fef56f490712decbd3eaff1fd0daa8bc63f893238a7f47df93 != a5eb1d9a331266fef56f490712decbd3eaff1fd0daa8bc63f893238a7f47df93 ]]
+ echo -e '\e[32mcabal.project.freeze updated successfully.\e[0m'
chown: cannot access '/root/.config/': Permission denied
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1