dengshiyong / easyscripts

Automatically exported from code.google.com/p/easyscripts
2 stars 1 forks source link

root安装的文件权限问题 #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
在debian上用root安装后发现无法使用,原因是
/etc/bash_completion.d/chs_completion的权限不对。原来是600,需要手�
��改为644。

希望能改下install脚本

Original issue reported on code.google.com by lainme...@gmail.com on 14 Mar 2011 at 5:36

GoogleCodeExporter commented 8 years ago
我的root用户默认没有开启/etc/bash_completion, 
建议在install提示一下需要开启

Original comment by riegama...@gmail.com on 18 Mar 2011 at 2:42

GoogleCodeExporter commented 8 years ago
1、chs_completion 
权限不对的问题在install.sh脚本进行了修改,谢谢指正
2、/etc/bash_completion已经在安装时进行了判断,“默认没有开��
�”是什么意思呢?

Original comment by sha...@gmail.com on 15 Apr 2011 at 1:49

GoogleCodeExporter commented 8 years ago
1楼说得应该是root用户没有办法自动补全,这需要在root的.bash
rc中加入/etc/bash_completion和chs_completion

Original comment by bingmou2...@gmail.com on 16 Sep 2011 at 2:56

GoogleCodeExporter commented 8 years ago
The change for this is done now.

Original comment by sha...@gmail.com on 17 Dec 2012 at 10:31