When the oracle-fspm or the oracle-fspm-params package is installed, updated, or repaired, the permissions and the ownership of the /opt/oracle directory are set to specific values.
dr-x------. 3 root root 4096 Aug 3 18:21 /opt/oracle
These settings can cause problems for other software that had been installed previously and for software that is installed into this directory in the future.
# ls -ld /opt/oracle d-wx-wx-wx. 2 bin sys 4096 Aug 3 18:43 /opt/oracle # getfacl -p /opt/oracle > /tmp/oraperms # rpm -Uvh oracle-fspm-params-6.6.6-1.noarch.rpm Preparing... ########################################### [100%] 1:oracle-fspm-params ########################################### [100%] # ls -ld /opt/oracle dr-x------. 3 root root 4096 Aug 3 18:46 /opt/oracle # setfacl --restore=/tmp/oraperms # ls -ld /opt/oracle d-wx-wx-wx. 3 bin sys 4096 Aug 3 18:46 /opt/oracle
# ls -ld /opt/oracle d-wx-wx-wx. 2 bin sys 4096 Aug 3 18:20 /opt/oracle # rpm -Uvh oracle-fspm-params-4.0.8-1.noarch.rpm Preparing... ########################################### [100%] 1:oracle-fspm-params ########################################### [100%] # ls -ld /opt/oracle dr-x------. 3 root root 4096 Aug 3 18:21 /opt/oracle # chown bin /opt/oracle # chgrp sys /opt/oracle # chmod 333 /opt/oracle # ls -ld /opt/oracle d-wx-wx-wx. 3 bin sys 4096 Aug 3 18:21 /opt/oracle
# ls -ld /opt/oracle dr-x------. 3 root root 4096 Aug 3 18:21 /opt/oracle # chmod 755 /opt/oracle # ls -ld /opt/oracle drwxr-xr-x. 3 root root 4096 Aug 3 18:21 /opt/oracle