aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Git-annex_not_properly_detecting_symlink_capability_in_CryFS.mdwn
blob: bb62802283293e03010ee270aa7b557fcf56180e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
### Please describe the problem.

When creating a new git-annex repository (or upgrading, or doing fsck) inside a CryFS container (FUSE-based encrypted local filesystem, similiar to EncFS), git-annex goes into direct(or adjusted, in v6) mode despite CryFS working just fine with symlinks.

Indeed, a created-outside-cryfs git-annex repository works as expected when copied inside

### What steps will reproduce the problem?
1. Install cryfs (https://www.cryfs.org/, packaged for ubuntu,debian, or build from source)
2. Create a CryFS container: $ cryfs container container-data
3. Create a git annex repository inside the container:

    $ cd container
    $ git init .
    $ git annex init --version 6

#### Cloning from v6 repository, you get

git annex init --version 6
init  
  Detected a filesystem without fifo support.

  Disabling ssh connection caching.

  Detected a crippled filesystem.

  Disabling core.symlinks.
(merging origin/git-annex into git-annex...)
(recording state in git...)
(scanning for unlocked files...)

  Entering an adjusted branch where files are unlocked as this filesystem does not support locked files.

Switched to branch 'adjusted/master(unlocked)'
ok
(recording state in git...)

#### Cloning from v5 repository and upgrading, you get

git annex upgrade
upgrade . 
  Detected a filesystem without fifo support.

  Disabling ssh connection caching.

  Detected a crippled filesystem.

  Disabling core.symlinks.
(merging origin/git-annex into git-annex...)
(recording state in git...)

  Enabling direct mode.
(v5 to v6...) (scanning for unlocked files...)
ok
(recording state in git...)

### What version of git-annex are you using? On what operating system?
git-annex-6.20170519-1.fc26.x86_64

### Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)

I love git-annex.

> [[done]] --[[Joey]]