defer write permissions checking in import until after copy to repo
This should complete the fix started in
6329997ac4
, fixing the actual cause of the
test suite failure this time.
Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
7b26222cbe
commit
ec12537774
8 changed files with 64 additions and 19 deletions
|
@ -188,6 +188,7 @@ perform o file addunlockedmatcher = withOtherTmp $ \tmpdir -> do
|
|||
let cfg = LockDownConfig
|
||||
{ lockingFile = lockingfile
|
||||
, hardlinkFileTmpDir = Just tmpdir
|
||||
, checkWritePerms = True
|
||||
}
|
||||
ld <- lockDown cfg (fromRawFilePath file)
|
||||
let sizer = keySource <$> ld
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue