Red Hat Enterprise Linux 5下有關dmrc文件錯誤的解決辦法

平臺:
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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章