Solved

UTL_FILE Unix file permissions

Posted on 2001-06-05
6
1,985 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
  • 3
  • 2
6 Comments
 
LVL 9

Accepted Solution

by:
dbalaski earned 20 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Suggested Solutions

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…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to recover a database from a user managed backup

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now