Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

UTL_FILE Unix file permissions

Posted on 2001-06-05
6
Medium Priority
?
2,039 Views
Last Modified: 2012-05-04
Oracle 8.1.6  Sun Solaris.
When UTL_FILE supplied packages creates a file its permissions are "rwxr-xr-x"
How can I change this default to "rwxrwxrwx" ?
0
Comment
Question by:peledc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
dbalaski earned 80 total points
ID: 6158416
Hi,

This can be changed by resetting the oracle instance owner (presumably the oracle account)  umask.   Since the unix account of the oracle instance is the owner of the server process, these will be passed on to the process.  .
Set the umask to 777  for the"rwxrwxrwx" premissions  before starting the instance and then it should work.

sincerely,
dBalaski
0
 
LVL 1

Author Comment

by:peledc
ID: 6158561
Wouldn't this have any effect on the Oracle instance in any known way?
0
 
LVL 1

Author Comment

by:peledc
ID: 6158563
Wouldn't this have any effect on the Oracle instance in any known way?
0
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
LVL 1

Author Comment

by:peledc
ID: 6158589
Wouldn't this have any effect on the Oracle instance in any known way?
0
 
LVL 9

Expert Comment

by:dbalaski
ID: 6159586
Hi,

No,   it won't effect the way the instance runs.   remember, umask utility is only used to set the file mode creation  mask (permissions).
So, in this case, any new files created by  the oracle OS account, ie:such as trc files , dumps files,  new file generated by the UTL_FILE, etc)..     In fact, this is Oracle's recommended solution to that problem.

Sincerely
dBalaski
0
 

Expert Comment

by:harel_dayan
ID: 6190332
go to the place of UTL_FILE_DIR parameter and type
chmod 777 *
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question