Skip to content

Instantly share code, notes, and snippets.

@learntheropes
Last active August 16, 2019 20:03
Show Gist options
  • Save learntheropes/1fcd0cd26fb0f411fd9fa741497748e0 to your computer and use it in GitHub Desktop.
Save learntheropes/1fcd0cd26fb0f411fd9fa741497748e0 to your computer and use it in GitHub Desktop.
kbfs staff

Get ubuntu/debian default mountdir

printenv | grep $XDG_RUNTIME_DIR

If $XDG_RUNTIME_DIR exists, then KBFS is mounted at $XDG_RUNTIME_DIR/keybase/kbfs Otherwise is mounted at /home/user/.config/keybase/kbfs

Change mountdir

keybase config set mountdir ~/.local/share/keybase/fs
systemctl restart --user kbfs

Allow root

KEYBASE_ALLOW_ROOT=1

Docker container with FUSE mount

docker run --privileged

Kill root redirector on linux

cat /etc/keybase/config.json
{
  "disable-root-redirector": true
}
sudo killall keybase-redirector
sudo chmod a-s /usr/bin/keybase-redirector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment