summaryrefslogtreecommitdiff
path: root/doc/bugs/git-annex_on_crippled_filesystem_can_still_failed_due_to_case_.mdwn
blob: 53b993de265f1de01fcb4f9fe027b0d1279324ae (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
What steps will reproduce the problem?

    $ git clone ~/corbeau/travail/ travail
    Cloning into 'travail'...
    done.
    Checking out files: 100% (8670/8670), done.
    $ cd travail
    $ git annex init "portable USB drive"
    init portable USB drive 
      Detected a crippled filesystem.

      Enabling direct mode.

    git-annex: /media/LACIE/travail/.git/annex/objects/k1: createDirectory: already exists (File exists)
    failed
    git-annex: init: 1 failed

What version of git-annex are you using? On what operating system?
    $ apt-cache policy git-annex
    git-annex:
    Installé : 3.20130216

This on a amd64 debian sid recently updated


Please provide any additional information below.

The problem is that git annex already created a /media/LACIE/travail/.git/annex/objects/K1 file (same name in uppercase) and FAT isn't realy case sensitive.


> I *think* I've found the place that used createDirectory
> rather than createDirectoryIfMissing and fixed it. [[done]] --[[Joey]]