- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Wrong file owner
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
Discussions
Discussions
Forums
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
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
тАО04-19-2011 11:00 PM
тАО04-19-2011 11:00 PM
after long time I come back to VMS.
My question: how the user JULY creates files that are owned by USER?
Details:
- Open VMS V8.3 - I64
- JULY and USER are two valid usernames
- JULY and USER have two different UID
- JULY uses an application written by me
- Files are created by 'fopen' of standard C library
- All other users create their own files
Somebody has some idea?
TIA
Antonio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 11:13 PM
тАО04-19-2011 11:13 PM
Re: Wrong file owner
Created where? Who owns that directory?
help directory /security
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2011 11:39 PM
тАО04-19-2011 11:39 PM
SolutionWelcome back!
In combination with Steven's question:
What privileges has JULY got?
Files ceated by users with SYSPRV (or GRPPRV if groupUIC matches) by default get parent DIR's ownership.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2011 12:13 AM
тАО04-20-2011 12:13 AM
Re: Wrong file owner
thanks for help.
I checked for required informations.
The owner of the parent dir is 'USER'.
JULY has all privileges so I suppose she creates file with directory owner.
Now I change security and I'll report you.
Antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2011 01:21 AM
тАО04-20-2011 01:21 AM
Re: Wrong file owner
your suggestion was right. Solution found.
Usually my user have minimal privileges.
I pleased thank you with 10 pts.
Antonio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-20-2011 02:12 PM
тАО04-20-2011 02:12 PM
Re: Wrong file owner
Have a look at the "Flowchart of File Creation", Figure 8-1 in HP OpenVMS Guide to System Security.
It explains how access, ownership and protection are determined when creating a file. Ownership privileges are the dangerous thing here, one reason it's never a good idea to leave high privileges enabled.
Curiously, there are cases where higher privilege CAUSES a NOPRIV error because a file is created with the "wrong" owner.