博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
centos7 encfs_CentOS 6上的encfs无法以普通用户身份挂载
阅读量:2519 次
发布时间:2019-05-11

本文共 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
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。

翻译自:

centos7 encfs

转载地址:http://czlwd.baihongyu.com/

你可能感兴趣的文章
利用LDA进行文本聚类(hadoop, mahout)
查看>>
第三周作业
查看>>
js添加删除行
查看>>
浏览器性能测试网址
查看>>
[MTK FP]用Python把图片资源image.rar中为.pbm后缀的文件更改为.bmp后缀的方法
查看>>
实验二
查看>>
[LeetCode]203. Remove Linked List Elements 解题小结
查看>>
测试一下
查看>>
vue base64
查看>>
【Django实战开发】案例一:创建自己的blog站点-1.安装及搭建开发环境
查看>>
Pie(二分)
查看>>
Mysql 索引优化
查看>>
09湖州二模(自选模块不等式)
查看>>
Mybatis Batch 批量操作
查看>>
Ubuntu server搭建Java web服务器
查看>>
WSGI学习系列WSME
查看>>
java读取xml配置文件和properties配置文件
查看>>
HDU 4300 Contest 1
查看>>
POJ 3311
查看>>
Button MouseEvent颜色变化
查看>>