Operating System - Linux
1832998 Members
2188 Online
110048 Solutions
New Discussion

Re: problem with ownership

 
Tonatiuh
Super Advisor

problem with ownership

Red Hat Enterprise Linux 4

I have created a raw device and configured to start automatically the "rawdevices" service at startup (chkconfig rawdevices on).

Default ownership of this raw devices is "root:disk". I changed this ownership as follows:

# chown root:oinstall /dev/raw/raw1

After I reboot the machine, the ownership of the raw devices is "reseted" to "root:disk".

If I change again manually the ownsership it is reseted again every after reboot.

I need that the ownership of the raw device be permanently as "root:oinstall".

Any idea?
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: problem with ownership

This link may help you.

http://blog.nominet.org.uk/tech/Unix/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Tonatiuh
Super Advisor

Re: problem with ownership

It seems to be exactly my case Ivan. I am configuring an Oracle RAC. I will tray it and tell you what it happend.
Philip J. Priest_1
Frequent Advisor

Re: problem with ownership

We had the same problem. To resolve this put this in /etc/rc.local:

chown oracle:oinstall /dev/raw/raw1
chown oracle:oinstall /dev/raw/raw2
chmod 660 /dev/raw/raw1
chmod 660 /dev/raw/raw2

Phil