It seems the documentation is out of date. The current value for files is indeed 0o444. I’ve created the PR to update it fix(config): update file mode in group shared cache by shcheklein · Pull Request #4796 · iterative/dvc.org · GitHub
Now, back to the issue.
I’ve tried to reproduce it locally (I’m using Mac), with this config:
[cache]
dir = /tmp/test-cache
shared = group
type = hardlink
With a simple repo like this:
(.venv) √ Projects/test-cache % tree .
.
├── test.txt
└── test.txt.dvc
0 directories, 2 files
I can’t reproduce it.
Can you try it on a simpler repo? Can you also try to run ln /home/shared/dvc-cache/files/md5/88/712af9626d5cbba82007cf8e3f90b2 /opt/actions-runner/_work/some-repo/some-repo/some-data/some_file
Could you try to run it with a cache located inside /opt/actions-runner/ ? Could you also check the permissions of the /opt/actions-runner/_work/some-repo/some-repo/some-data directory?