Erik Hetzner writes: > Here are the permissions: > > 0755 /tmp/tmp-orgtest/ > 0700 /tmp/tmp-orgtest/org-annex-test19785b6F/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/objects/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/objects/jm/ > 0775 /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/objects/jm/P2/ > 0555 > /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/objects/jm/P2/SHA256E-s12--a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447/ > 0444 > /tmp/tmp-orgtest/org-annex-test19785b6F/.git/annex/objects/jm/P2/SHA256E-s12--a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447/SHA256E-s12--a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447 > > I presume this is to maintain the integrity of the file contents in the > repository.
Oh my, they even think it's a feature. :-( https://git-annex.branchable.com/internals/lockdown/ Those shenanigans with symbolic links are a bit cumbersome. > It would be possible to drop these files after the test (using git annex drop > --force), but if something goes wrong there the rm -rf would not clean up the > test directory properly. If you think that is a better solution I can do that. Well, the best solution would be to have an option for git-annex to switch off that lockdown thing. Since that's not going to happen soon or anytime, try something like: $(RMR) $(testdir) || { $(CHMOD) -R u+w $(testdir); $(RMR) $(testdir) } which of course requires the addition of CHMOD = chmod in mk/defaults.mk. But it seems that direct mode (however deprecated it is) would allow us to do exactly the thing we want, so maybe if the tests would put that repo in direct mode we wouldn't even need to do that. But that doesn't seem to work in a v6 repo unless annex.thin is set to true. What version are you testing? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds