keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.9k stars 1.23k forks source link

Cannot get into KBFS #11410

Closed ghost closed 6 years ago

ghost commented 6 years ago

So for a while now I have not been able to get into my KBFS files. I've tried uninstalling and reinstalling, logging out and logging back in again, to no avail.

I am on Arch Linux.

my log id: 4e85fa23ca0b7cdcdc02131c

strib commented 6 years ago

I see this in your logs:

30491 2018-04-14T17:41:14.757616-05:00 ▶ [DEBU kbfs start.go:37] 064 Mounting: "/run/user/1000/keybase/kbfs"
30492 2018-04-14T17:41:14.757643-05:00 ▶ [DEBU kbfs mount_interrupter.go:42] 065 Starting to mount the filesystem
30493 2018/04/14 17:41:14 mount helper error: fusermount: mount failed: Operation not permitted
30494 2018/04/14 17:41:14 mount helper error: fusermount: mount failed: Operation not permitted
30495 2018-04-14T17:41:14.760753-05:00 ▶ [ERRO kbfs mount_interrupter.go:52] 066 Mounting the filesystem failed: fusermount: exit status 1

For some reason your user (UID=1000) doesn't have permissions to mount /run/user/1000/keybase/kbfs. I would guess either that user is not part of the fuse group on your machine, or somehow the permissions for /run/user/1000/keybase/kbfs were messed up.

ghost commented 6 years ago

Alright, that makes sense, kind of. How would I go about adding those permissions?

strib commented 6 years ago

What is the output of these two commands?

ls -ld /run/user/1000/keybase/kbfs
groups
ghost commented 6 years ago

Terminal

strib commented 6 years ago

Does the command usermod -aG fuse taxborn help at all? I'm not sure if this is a requirement on arch or not.

ghost commented 6 years ago

It simply tells me this message: usermod: group 'fuse' does not exist

strib commented 6 years ago

What does this command say:

ls -l `which fusermount`
ghost commented 6 years ago

Terminal

strib commented 6 years ago

Ah, that seems to be the problem. Usually fusermount's permissions are -rwsr-xr-x (note the "s" suid bit). Somehow that got changed on your system. Try sudo chmod u+s /usr/bin/fusermount and see if run_keybase will work correctly after that.

ghost commented 6 years ago

That seems to fix it! Thank you for your help.