ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 在rhel5下vi .bash_profile出错

在rhel5下vi .bash_profile出错

原创 Linux操作系统 作者:wisdomone1 时间:2010-06-12 16:38:27 0 删除 编辑
.bash_profile" E212: Can't open file for writing
".bash_profile"
".bash_profile" E212: Can't open file for writing
".bash_profile"
".bash_profile" E212: Can't open file for writing
E138: Can't write viminfo file /oracle/.viminfo!
Press ENTER or type command to continue
 
 
以上表明oracle用户没有对自己home目录的写入权限
采用如下方法处理:
 
chown -Rf oracle:oinstall /oracle
chmod 775 /oracle
-----以上/oracle为useradd的-d所指目录,也就是oracle用户的home目录

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

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12690172