723bde6bf32c29ae33a554da703a41b030663ebf
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 1"""
4  date="2017-06-06T19:28:18Z"
5  content="""
6 Lack of support for hard links does not make git-annex enable 
7 crippled filesystem mode. Lack of support for either symlinks
8 or unix permissions are the only things that cause that.
9
10 I assume that you've checked that you can create symlinks on the UnRaid.
11
12 Unix permissions may *seem* to work, eg they can be set. However, git-annex
13 checks if they *actually* work, by creating a file, removing the write bit,
14 and trying to write to it. If the write succeeds, the filesystem is not
15 actually honoring permissions.
16
17 Using git-annex in indirect mode with such a filesystem can
18 result in data loss. For example:
19
20         git annex add foo
21         git commit foo -m added
22         echo corrupt > foo
23
24 Here the echo follows the symlink to the single copy of the file in
25 .git/annex/objects/ and ignoring the permissions that don't allow writing
26 it it, overwrites it with other data. `git annex fsck` will then tell you
27 that you've lost the old content of the file.
28
29 So, I don't recommend trying to bypass git-annex's check for crippled
30 filesystems.
31 """]]