Solved

UTL_FILE Unix file permissions

Posted on 2001-06-05
6
1,998 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
form builder not starting 3 71
Fill Date time Field 12 29
Loading flat file data in tables 2 58
why truncate is faster than delete in oracle ? 4 44
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
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 set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

685 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