Red Hat Enterprise Linux 5下有关dmrc文件错误的解决办法

来源:互联网 发布:重做系统c盘数据恢复 编辑:程序博客网 时间:2024/05/11 13:33
平台:
Red Hat Enterprise Linux 5
2.6.18-194.el5

故障描述,使用oracle用户登录linux时报错:
User's $HOME/.dmrc file is being ignored. This prevents the defaults session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users.

故障原因,用户错误地执行了下面的命令:
chmod -R 775 /home/oracle

解决办法,依次执行下面的命令:
sudo chown oracle /home/oracle/.dmrc
chmod 644 /home/oracle/.dmrc
sudo chown oracle /home/oracle
chmod 755 /home/oracle

参考,ubuntu系统下,对此问题的详细解释:
http://wiki.ubuntu.org.cn/UbuntuHelp:DmrcErrors
0 0
原创粉丝点击