The test for this fails on my machine as-is, because my default
umask is 022. If I change it to 002, or add an explicit --umask 002
to the second record command in the test, then it passes.
Technically speaking a umask is only supposed to affect the
permissions for newly-created files, so it may be that the original
reporters are expecting to be able to change the permissions on
_darcs/index after creation to something that conflicts with their
umask - e.g. 0664 with a umask of 022 - and have that be preserved.
In practice that doesn't work because I think darcs recreates the
index file when it updates it.
If anyone cares about that scenario please reopen this bug for
discussion otherwise I'm going to change the test to be robust
against the runner's umask and leave the bug resolved.
|