本文共 1085 字,大约阅读时间需要 3 分钟。
centos7 encfs
On CentOS 7, using a normal user, works just well.
在CentOS 7上,使用普通用户, 可以很好地工作。
On CentOS 6, using the root user, encfs
works.
在CentOS 6上,使用root用户可以使用encfs
。
However, the problem is, on CentOS 6, using a normal user account, encfs
does not work as on CentOS 7.
但是,问题是,在使用普通用户帐户的CentOS 6上, encfs
无法像在CentOS 7上那样工作。
$ encfs -s ~/t/.enc ~/t/encEncFS Password: fuse: failed to exec fusermount: Permission deniedfuse failed. Common problems: - fuse kernel module not installed (modprobe fuse) - invalid options -- see usage message
As the root user can mount encfs directory, the needed /modules should already be there.
由于root用户可以挂载encfs目录,因此所需的 / modules应该已经存在。
What’s the reason and how to fix it?
是什么原因以及如何解决?
On CentOS 6 (and some old too), to make a user be able to use FUSE which is used by encfs, you need to add the user to the “fuse” group.
在CentOS 6(以及一些旧 )上,要使用户能够使用encfs使用的FUSE,需要将用户添加到“ fuse”组中。
For example, to make user user1 to use encfs, you can do
例如,要使用户user1使用encfs,可以执行
# usermod -G fuse user1
翻译自:
centos7 encfs
转载地址:http://czlwd.baihongyu.com/