提交 6903e631 作者: Marcin Rataj

fuse.md: Linux-related clarifications

上级 729e50d3
......@@ -44,18 +44,22 @@ sudo chown <username>:<groupname> /etc/fuse.conf
## Troubleshooting
### Getting `Permission denied` or `fusermount: user has no write access to mountpoint` error
### Getting `Permission denied` or `fusermount: user has no write access to mountpoint` error in Linux
Verify that the config file can be read by your user:
```sh
ls -l /etc/fuse.conf
sudo ls -l /etc/fuse.conf
-rw-r----- 1 root fuse 216 Jan 2 2013 /etc/fuse.conf
```
In most distributions group named `fuse` will be created during installation.
In most distributions group named `fuse` will be created during installation. You can check with:
If that is the case, just add your regular user to the `fuse` group:
```sh
usermod -G fuse -a <username>
sudo grep -q fuse /etc/group && echo fuse_group_present || echo fuse_group_missing
```
If group is present, just add your regular user to the `fuse` group:
```sh
sudo usermod -G fuse -a <username>
```
If not, create `fuse` group (add your regular user to it) and set necessary permissions, for example:
......@@ -66,6 +70,9 @@ sudo chgrp fuse /ipfs /ipns
sudo chmod g+rw /ipfs /ipns
```
Note that the use of `fuse` group is optional and may depend on your operating system.
It is okay to use a different group as long as proper permissions are set for user running `ipfs mount` command.
### Mount command crashes and mountpoint gets stuck
```
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论