keybase / kbfs

Keybase Filesystem (KBFS)
https://keybase.io/docs/kbfs
BSD 3-Clause "New" or "Revised" License
1.21k stars 137 forks source link

/keybase read and write errors #728

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello

I am experiencing the following issues.

$ kbfsfuse /mnt/keybase
▶ INFO KBFS version 1.0.2                                                                                                  
▶ WARNING Background keep alive hit an error: method 'sessionPing' not found in protocol 'keybase.1.session'

$ ls -l /mnt
$ dr-x------  1 root root    0 Feb  5 21:08 keybase
strib commented 7 years ago

kbfsfuse isn't really designed to be run on its own, there are environment variables you need in order to hit our production servers. If this is on Linux, you should replicate what's in the run_keybase script.

ghost commented 7 years ago

If there are environment variables needed to hit the production servers then why is ls /mnt/keybase/public/chris working at all?

In my opinion, a rational expectation would be: If ls is working then all other programs should be working as well.

strib commented 7 years ago

public/chris works because, when you run it without environment variables, we run a local version of KBFS with 4 hard-coded users, including chris. You would probably be able to do things in /mnt/keybase/private/strib, because by default you are logged in as the fake user strib.

If you just modify the mountpoint in run_keybase, you will be all set.