Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: file perms issue on linux install

Re: file perms issue on linux install

From: <kcboyes_at_gmail.com>
Date: 1 Feb 2007 09:08:46 -0800
Message-ID: <1170349726.685311.190020@p10g2000cwp.googlegroups.com>


On Feb 1, 9:58 am, DA Morgan <damor..._at_psoug.org> wrote:
> kcbo..._at_gmail.com wrote:
> > I've just installed Oracle 10gR2 on my redhat-based linux machine and
> > seem
> > to have a problem with file permissions. My ORACLE_BASE=/clientdata/
> > oracle
> > and here is the listing of that directory:
>
> > [kboyes_at_uberdev4 oracle]$ ls -al
> > total 56
> > drwxrwxr-x 7 oracle oinstall 4096 Jan 31 13:31 .
> > drwxrwxr-x+ 21 root root 4096 Jan 31 12:47 ..
> > drwxr-x--- 3 oracle oinstall 4096 Jan 31 13:31 admin
> > drwxr-x--- 3 oracle oinstall 4096 Jan 31 13:32 flash_recovery_area
> > drwxr-x--- 3 oracle oinstall 4096 Jan 31 13:31 oradata
> > drwxrwx--- 6 oracle oinstall 4096 Jan 31 13:52 oraInventory
> > drwxrwx--- 3 oracle oinstall 4096 Jan 31 13:28 product
>
> > I would have expected product to be r-w for other since the way it is
> > now, ordinary users can't run things like sqlplus.
>
> > It doesn't make sense that ordinary users would need to be in the
> > oinstall group.
>
> > Any help would be appreciated.
> > Thank,
> > Kevin.
>
> When I create a directory structure for an Oracle installation here's
> what I do:
>
> mkdir -p /app/oracle
> chown -R oracle:dba /app/oracle
> chmod -R 775 /app/oracle
>
> Then the following is in my .bashrc:
>
> umask 022
> ORACLE_BASE=/app/oracle/product
> ORACLE_HOME=/app/oracle/product/10.1.0/db_1
> ORACLE_SID=orcl
> export PATH ORACLE_BASE ORACLE_HOME ORACLE_SID
>
> If you've done the equivalent of this it is the way it should be.
> --
> Daniel A. Morgan
> University of Washington
> damor..._at_x.washington.edu
> (replace x with u to respond)
> Puget Sound Oracle Users Groupwww.psoug.org

I followed the instructions in the Installation Guide document (b15660.pdf)
which is close to what you do.

# mkdir -p /clientdata/oracle
# chown -R oracle:oinstall /clientdata/oracle
# chmod -R 775 /clientdata/oracle

So one of the differences is the group of oinstall versus dba. Also, my ORACLE_BASE is not set to /clientdata/oracle/product. It is just /clientdata/oracle. This is per instructions in the document
on page 2-19/20:

    When you configure the oracle user's environment later in this chapter, set the

    ORACLE_BASE environment variable to specify the Oracle base directory that

    you have created.

Are you saying that the perms on your product directory are different than 770?

Thanks,
Kevin. Received on Thu Feb 01 2007 - 11:08:46 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US