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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: slightly OT, permissions unix/oracle puzzler

Re: slightly OT, permissions unix/oracle puzzler

From: <Jared.Still_at_radisys.com>
Date: Mon, 08 Jul 2002 14:24:44 -0800
Message-ID: <F001.00491C97.20020708142444@fatcity.com>


Kathy,

I'm going to assume that what you're trying to do is create UTL_FILE files that
have group r/w permissions. As others have pointed out, you're being thwarted
by the perms of the oracle process.

Here's how I've overridden that in the past.

Assuming your directory is /u01/utl_file/db01/, create a new group called util_file in unix.

Now change the group and perms on the directory:

   chgrp util_file /u01/utl_file/db01/
   chmod g+rxs /u01/utl_file/db01/

Now all files created in the /u01/utl_file/db01/ file directory will have a group of util_file with read permission.

Just add the util_file group to users that need access.

Read the chmod man page for details.

Jared

Kathy Duret <KathyD_at_belkin.com>
Sent by: root_at_fatcity.com
07/08/2002 01:07 PM
Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
        cc: 
        Subject:        slightly OT, permissions unix/oracle puzzler


Ok, I log in as oracle, touch a file I get 664 permission on it.

But when I create a file through OEM or a plsql procedure I get 644 permissions.

My umask is 02.

On another system - solaris everything ok.

Both .profiles are the same.

Sys admins no help.

Any clues?

Thanks,

Kathy

Confidential
This e-mail and any files transmitted with it are the property of Belkin Components and/or its affiliates, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this e-mail in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Kathy Duret
  INET: KathyD_at_belkin.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author:
  INET: Jared.Still_at_radisys.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Jul 08 2002 - 17:24:44 CDT

Original text of this message

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