chown command is not changing owner and group of the directories
PWNFeb 21 2013 — edited Feb 23 2013Good morning, I hope that someone in this group can make a suggestion or two as what my issues are and how to solve them, or suggest the correct group to post the questions to.
I have successfully installed Oracle Solaris 11.1 (x86/64-bit) installation on Oracle VirtualBox. Now, I would like to install Oracle 11gR2 in my Oracle Solaris 11.1 environment. At the moment, I am completing the pre-installation instructions. Having signed on as the root user, I created the oracle user and the oinstall group. Further on, the instructions call for the creation of two directories, /u01/app/oracle and /u02/oradata, which I created without error, both directories being owned by root. Now, the instructions call for changing the owner and group to the oracle user and the oinstall group, as follows:
# chown -R oracle:oinstall /u01/app/oracle
# chown -R oracle:oinstall /u02/oradata
My specific issue is that after performing the chown command, I do an ls -l and see that the two directories are still owned by root (the group is root as well). Even though I am performing the chown command as root, the command is not changing owner and group of the two directories. I am relatively new to working in a Solaris environment. Can anyone suggest why the chown command would not change the owner and group of these directories and what I can do to correct this? No amount of searching on Google or the Oracle Discussion Forums have provided any clues. Many thanks in advance to those who can provide any assistance :)