- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Umask problem with Oracle processes on a trust...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 06:25 AM
06-06-2002 06:25 AM
The procedures write their output in various places and in each case write 600 mode files owned by the HPUX Oracle user.
I entered a umask command in /etc/profile and in /home/oracle/.profile to set a 022 mask. It does not work for stored procedures only for users working within a shell.
If I touch a file logged in as Oracle I get the correct permissions (644). But if the stored procedure writes a file I get 600.
Is this because the stored procedure is not acutally logging in but merely using the Oracle account for writing the files? Is default system umask controlled by a kernel parameter?
How can I change this without converting back to a non-trusted system?
Thanks much,
-mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 06:34 AM
06-06-2002 06:34 AM
Re: Umask problem with Oracle processes on a trusted system
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 06:45 AM
06-06-2002 06:45 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 07:17 AM
06-06-2002 07:17 AM
Re: Umask problem with Oracle processes on a trusted system
/usr/bin/umask 077
Does absolutely nothing! However,
umask 077 does the trick.
I dunno. Perhaps this is my patch level, etc., but using the shell-internal umask (without the path) seems to be much better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2002 07:45 AM
06-06-2002 07:45 AM
Re: Umask problem with Oracle processes on a trusted system
And where is the setting that makes a trusted system's umask different than a non-trusted system. It can't be /etc/profile since there was no entry in there until I added one.
Thanks again,
-mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 11:10 AM
11-12-2002 11:10 AM
Re: Umask problem with Oracle processes on a trusted system
What was your final conclusion on this matter, I am having similar issues here on my servers. At my location, the "other" bit is getting dropped with the Oracle umask set at 002.
When I touch I get 664, when the database creates, I get 640?
any clues
Steven
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 03:02 PM
11-13-2002 03:02 PM
Re: Umask problem with Oracle processes on a trusted system
Essentially it is not solved...although I think Clay provided the answer.
Unfortunately, the programmers here who work with the application in question cannot figure out how to change the creation mode when they write out the file.
So, my big embarrassing band-aid is I have scripts run via cron that correspond to the monthly run schedule of these jobs and set the files to the proper mode before the programmers then access/transfer the data to other systems.
Not great...but until I learn more about SQL and PL/SQL or I get a application programmer here *really* interested in the problem, it'll have to do.... :(
Maybe some DBA guru can help?