- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Uncertain UNIX permissions
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-17-2004 06:17 AM
06-17-2004 06:17 AM
are being set on newly created files.
Sometimes the file are created with
rw-rw--- and sometime they are created as
rw-rw-rw. This is with an oracle process that is running.
Oracles umask is 07.
Is there a possible bug with HP-UX bins/libs
or a patch for this kind of behavior?
Solved! Go to Solution.
- Tags:
- Permission
- umask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 06:24 AM
06-17-2004 06:24 AM
SolutionUmask 007 corresponds to rw-rw---. If the files are getting created with 666 permissions, then I suspect that oracle process is manipulating it's umask to 000 or intentionally creating these files with worldwide access.
Run tusc on this process and see if you can more information on how these files are created.
-Sri
- Tags:
- tusc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 07:50 AM
06-17-2004 07:50 AM
Re: Uncertain UNIX permissions
660.
15182: open("/tmp/EDORS/BPC_713.plt",O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) =
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 08:16 AM
06-17-2004 08:16 AM
Re: Uncertain UNIX permissions
I think the final permissions will match the umask every time.
It is possible a cron job or the create script is changing permissions after create.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2004 08:33 AM
06-17-2004 08:33 AM
Re: Uncertain UNIX permissions
that comunicates with oracle.
You submit a job and it processes the files
in a /tmp directory where they get created
and then sent to a plotter.
When we do testing we can see the files being created. The files are either
666 or 660.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 01:54 AM
06-18-2004 01:54 AM
Re: Uncertain UNIX permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 02:04 AM
06-18-2004 02:04 AM
Re: Uncertain UNIX permissions
That's open() not creat(). It will create only if a file doesn't exist. Looks like 10% of the time, the file was already existing with pre-set permissions of 0660.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2004 02:47 AM
06-18-2004 02:47 AM
Re: Uncertain UNIX permissions
The file does not exist and when it is
created truss only shows open call.