[[!comment format=mdwn
 username="https://openid.stackexchange.com/user/8a69a637-97cb-41e6-8f45-00f08ba54d6e"
 nickname="Andreas Duering"
 avatar="http://cdn.libravatar.org/avatar/915cf485815ded2f7f4b68736994c185ecda8c31dd293acd16f5e21ca7db23e1"
 subject="comment 5"
 date="2017-08-16T17:16:13Z"
 content="""
I think I have a similar problem - especially with the drive letters. I don't need any SMB shares, though.

### What steps will reproduce the problem?

1. git init / git annex init on a ext* drive under Linux
2. git sync it to a FAT32-formatted (USB) drive
3. git annex init on the USB drive
4. add each others as remote
5. git sync each other - works fine
6. Change into a Windows system
7. git annex add some files
8. Change back to a Linux system
9. git annex sync from the annex repository on USB
10. git annex sync from the linux-side

now, if I do ls -l:

    $ ls -l
    lrwxrwxrwx 1 me me 208 Aug 16 18:54 version2.win.txt -> G:/annex2/.git/annex/objects/j1/0J/SHA256E-s846--e46ff540d59e80b419798a53d6d97313a5e04b94f9708168a3d371be1ccd635c.win.txt/SHA256E-s846--e46ff540d59e80b419798a53d6d97313a5e04b94f9708168a3d371be1ccd635c.win.txt

note the g:\, which was the Windows drive letter.

git annex get worked fine for me:

     $ git annex get version2.win.txt
    get version2.win.txt (from usb...) 
    version2.win.txt
                846 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=0/1)
    (checksum...) ok
    (recording state in git...)

However, the link is still broken (same ls -l output)

    $ stat version2.win.txt
      File: 'version2.win.txt' -> 'G:/annex2/.git/annex/objects/j1/0J/SHA256E-s846--e46ff540d59e80b419798a53d6d97313a5e04b94f9708168a3d371be1ccd635c.win.txt/SHA256E-s846--e46ff540d59e80b419798a53d6d97313a5e04b94f9708168a3d371be1ccd635c.win.txt'
      Size: 208       	Blocks: 8          IO Block: 4096   symbolic link
    Device: 81bh/2075d	Inode: 1200146     Links: 1
    Access: (0777/lrwxrwxrwx)  Uid: ( 1000/ me)   Gid: ( 1000/ me)
    Access: 2017-08-16 18:54:11.479490622 +0200
    Modify: 2017-08-16 18:54:11.479490622 +0200
    Change: 2017-08-16 18:54:11.479490622 +0200
     Birth: -

    $ cat version2.win.txt 
    cat: version2.win.txt: No such file or directory

### What version of git-annex are you using? On what operating system?

Gentoo:

    git-annex version: 6.20170611-gb493ac8d3
    build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV Inotify DBus DesktopNotify ConcurrentOutput TorrentParser MagicMime Feeds Quvi
    dependency versions: aws-0.14.1 bloomfilter-2.0.1.0 cryptonite-0.20 DAV-1.3.1 feed-0.3.11.1 ghc-8.0.1 http-client-0.4.31.1 persistent-sqlite-2.6 torrent-10000.0.0 uuid-1.3.12 yesod-1.4.3
    key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
    remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
    local repository version: 5
    supported repository versions: 3 5 6
    upgrade supported from repository versions: 0 1 2 3 4 5
    operating system: linux x86_64

Windows 10:

    git-annex version: 6.20170611-gb493ac8
    build flags: Assistant Webapp Pairing Testsuite S3(multipartupload)(storageclasses) WebDAV ConcurrentOutput TorrentParser Feeds Quvi
    dependency versions: aws-0.14.0 bloomfilter-2.0.1.0 cryptonite-0.7 DAV-1.3.1 feed-0.3.11.1 ghc-7.10.2 http-client-0.4.31.1 persistent-sqlite-2.2 torrent-10000.0.0 uuid-1.3.12 yesod-1.4.3
    key/value backends: SHA256E SHA256 SHA512E SHA512 SHA224E SHA224 SHA384E SHA384 SHA3_256E SHA3_256 SHA3_512E SHA3_512 SHA3_224E SHA3_224 SHA3_384E SHA3_384 SKEIN256E SKEIN256 SKEIN512E SKEIN512 SHA1E SHA1 MD5E MD5 WORM URL
    remote types: git gcrypt p2p S3 bup directory rsync web bittorrent webdav tahoe glacier ddar hook external
    local repository version: 5
    supported repository versions: 3 5 6
    upgrade supported from repository versions: 2 3 4 5
    operating system: mingw32 i386
"""]]
