Skip to content

fusedav can write files to cryptomator on Ubuntu Linux 17.10, but gets back nulls when reading them #18

@jikamens

Description

@jikamens

I have Ubuntu Linux 17.10 x86_64, cryptomator 1.3.2-0ppa2 from the cryptomator repository, and fusedav 0.2-3.1 from the Ubuntu repository.

When I unlock my vault in the cryptomator GUI and then try to mount it with fusedav, fusedav spits out several complaints about PROPFIND failures, but then seems to mount the filesystem anyway. I see that these PROPFIND errors are commented on in other issues within this project and are apparently save to ignore, but there's another issue...

Once I've mounted my cryptomator WebDAV URL with fusedav, I am able to write files into the fuse filesystem with no trouble. E.g., if I've mounted on ~/c, then echo foo > ~/c/bar.txt works just fine, and if I then double-click on bar.txt in the cryptomator GUI, it indeed has the contents I expect, i.e., the word "foo" followed by a newline.

However, if I type cat ~/c/bar.txt at the command line, I get back nothing. Well, actually, not nothing. It's getting back nulls where the characters of the file should be:

$ cat ~/c/bar.txt | od -x
0000000 0000 0000
0000004
$ 

Is this a known issue? Is there a fix?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions