Operating System - Linux
1753429 Members
4904 Online
108793 Solutions
New Discussion юеВ

mount point owner other then 'root'

 
SOLVED
Go to solution
Maaz
Valued Contributor

mount point owner other then 'root'

have to install the Oracle10R2 on /Oracle filesystem.

/oracle is on SAN/FC-LUN.

the customize installation document I have to follow, shows that /Oracle is own by user 'orar3p', and group 'dba'

so to achieve the above, I created a directory(mount point) /Oracle, then

chown orar3p.dba /Oracle

then
mount /dev/mapper/LongStringOfNumbers /Oracle

now, running 'ls -ld /Oracle' shows that its own by user 'root', and group 'root'

what should I do ?
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: mount point owner other then 'root'

Shalom,

umount the filesystem.

chown the mount point of the to oracle

mount it again.

Oracle should own the mount point.

However, the question is, do you have any problem either way with this?

Does oracle not start correctly at this time?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Maaz
Valued Contributor

Re: mount point owner other then 'root'

Hi SEP

>umount the filesystem.
>chown the mount point of the to oracle
>mount it again.
>Oracle should own the mount point.

# chown orar3p.dba /oracle
# ls -ld /oracle
drwxr-xr-x 2 orar3p dba 4096 Oct 24 19:39 /oracle
# mount /dev/mapper/3600508b40006e2cc0000c000005d0000 /oracle
# ls -ld /oracle
drwxr-xr-x 4 root root 4096 Nov 2 16:42 /oracle

again /oracle is own by 'root.root' and not 'orar3p.dba'

>However, the question is, do you have any problem either way with this?
>Does oracle not start correctly at this time?
no I didnt installed the oracle yet on this machine. actually I have to install the Oracle by following some papers... and before doing the drill/excercise I am reading/evaluating.

Regards
Ivan Ferreira
Honored Contributor
Solution

Re: mount point owner other then 'root'

You must change the ownership after you mount the file system.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Maaz
Valued Contributor

Re: mount point owner other then 'root'

Hi Ivan Ferreira, thanks ;)

Regards
Maaz