scientist2009 / mentohust

Automatically exported from code.google.com/p/mentohust
1 stars 0 forks source link

!! 打开锁文件失败: Permission denied #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
按照网上提示的步骤安装之后,使用chmod a+x 
/usr/bin/mentohust之后,在普通用户下运行mentohust会出现“!! 
打开锁文件失败: Permission 
denied”的出错信息,怎么回事?如果用root用户,则运行正常

Original issue reported on code.google.com by hit...@gmail.com on 15 Oct 2010 at 3:35

GoogleCodeExporter commented 9 years ago
是不可以用普通用户权限运行的

Original comment by robinlee...@gmail.com on 15 Oct 2010 at 4:08

GoogleCodeExporter commented 9 years ago
如果不是通过deb安装的话,文件所有者可能是当前用户而不��
�root,在chmod前将所有者改为root即可。
sudo chown root:root /usr/bin/mentohust
sudo chmod u+s /usr/bin/mentohust

Original comment by www.eh...@gmail.com on 15 Oct 2010 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by microcai...@gmail.com on 4 Apr 2011 at 9:23

GoogleCodeExporter commented 9 years ago
我也碰到了这个问题,使用sudo chown root: 
./mentohust之后,想通过./mentohust -uusername -ppassword 
的指令来修改用户名和密码,但是仍然会提示!!打开锁文件失
败:permission denied
不知道这是为什么,怎么处理才能修改用户名和密码

Original comment by shengche...@gmail.com on 1 Mar 2014 at 3:26