ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Red Hat Enterprise Linux 5下有关dmrc文件错误的解决办法

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

原创 Linux操作系统 作者:kaichuanle 时间:2014-04-17 11:49:26 0 删除 编辑
平台:
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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29612462/viewspace-1143888/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2014-04-17

  • 博文量
    8
  • 访问量
    80490