用root帐号切换其他帐号提示 su: warning: cannot change directory to /home/oracle: Permission denied

用root帐号切换其他帐号提示:

用root帐号切换其他帐号提示 su: warning: cannot change directory to /home/oracle: Permission denied

出错原因:

基本上是根目录或者是/home/oracle目录权限的问题

解决办法:

更改根目录权限为755,并保证对应用户主目录的所属用户和所属组一致和用户名一致。

示例:

用root帐号切换其他帐号提示 su: warning: cannot change directory to /home/oracle: Permission denied

--本篇文章转自http://blog.csdn.net/jack161641/article/details/7090490

上一篇:System.DllNotFoundException:“无法加载 DLL“SQLite.Interop.dll”: 找不到指定的模块 的解决方法


下一篇:MySQL -- 存储引擎