Fix several places where files in .git/annex/ were written with modes that did not take the core.sharedRepository config into account.
git grep writeFile finds some more that might also be problems, but for now I've concentrated on .git/annex/ log files. There are certianly cases where writeFile is not a problem too. This commit was sponsored by mo on Patreon.
This commit is contained in:
parent
a73f12389d
commit
24df95f0f6
12 changed files with 62 additions and 40 deletions
|
@ -33,7 +33,7 @@ start = do
|
|||
guardTest
|
||||
logf <- fromRepo gitAnnexFuzzTestLogFile
|
||||
showStart "fuzztest" logf
|
||||
logh <-liftIO $ openFile logf WriteMode
|
||||
logh <- liftIO $ openFile logf WriteMode
|
||||
void $ forever $ fuzz logh
|
||||
stop
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue