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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle can read file not allowed by oracle user

Re: Oracle can read file not allowed by oracle user

From: <thanosz_at_gmail.com>
Date: 1 Dec 2005 07:02:04 -0800
Message-ID: <1133449324.685118.232230@f14g2000cwb.googlegroups.com>


Hi all,
Thanks for the suggestions, SUID was set on the executable.

Was this done during installation?
I suppose this is not recemmended right, and should be set to oracle/oinstall.

Thanks again for your time.

thanosz_at_gmail.com wrote:
> Hello.
>
> Using oracle 9.2.0.5 on AIX 5.3. I have user oracle and group oinstall
> and recommended in installation. I have a directory oracle/oinstall
> (owner/group) with r-xr-x-- permissions and in there a I have a file
> owned by root/system with rw-r-----, so root has rw and group (system)
> has r only. When I login as user oracle and cat this file I am not able
> to read it, which is correct since oracle is not owner and not in the
> group.
>
> However when I create a directory in oracle
>
> create or replace directory MY_DIR as '/pathtodir';
> grant write on MY_DIR to user;
> grant read on MY_DIR to user;
>
> I am able to read this file through a procedure.
>
> Aren't all the file accessed by oracle user and there all permissions
> provided at the OS level should be respected? Is it possible to even
> override these (through the grant).
>
> Thanks.
Received on Thu Dec 01 2005 - 09:02:04 CST

Original text of this message

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