summaryrefslogtreecommitdiff
path: root/doc/bugs/git_annex_indirect_can_fail_catastrophically/comment_1_0b085e7e8c8e364f479574bc00c7c394._comment
blob: 68814881da50082d5e951eb35809e52adca7d6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[[!comment format=mdwn
 username="http://joeyh.name/"
 ip="4.152.108.220"
 subject="comment 1"
 date="2013-09-25T18:57:25Z"
 content="""
Worse than  being stuck partway converted, it fails in such a way that the file you can't write to is left stuck in .git/annex/objects/ without a symlink pointint to it. 

Here is how to recover:

1. run `git annex direct`
2. run `git annex indirect`
3. run `git annex direct`
4. run `git annex indirect`
5. run `git revert HEAD`
6. run `git annex direct`
7. fix the permission of the file
8. run `git annex indirect`

Please don't ask me why this works, but it will..
"""]]