First, the failure phenomenon
su: warning: cannot change directory to /home/oracle: Permission denied
Second, shoot the wrong idea
1, user directory / home / oracle permissions problem
2, su program execution permission problems
3, the program depends on shared libraries rights issue
4, selinux problems lead
5, the system root space issues
Third, the troubleshooting process
1, user directory / home / oracle permissions problem
The user's home directory permissions to 700, which is the user's home directory permissions value under normal circumstances.
2, su program execution permission problems
View su command authority, the owner is a group other have read and execute permissions, owner but there is a read-write executables permission, is normal.
3, the program depends on shared libraries rights issue
Use ldd command back to keep the binary file name to view the shared library permissions which it depends
When the corresponding file is not found, there is a problem with this command.
4, to see whether there are limits selinux
The current is turned off selinux
5, the system root directory
Root directory does not have execute permissions
Chmod 555 / root directory permissions to modify problem solving