- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New filesystem, created files are owned by root
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
05-08-2007 03:44 AM
05-08-2007 03:44 AM
New filesystem, created files are owned by root
I have an interesting problem. I am running HP-UX 11.0 and I have just created a new VG with a single LV and a vxfs filesystem on that LV. The funny thing is, whenever the DBA runs a backup script as the sybase user, the backup is created as a file owned by root on this new filesystem.
There are no su or sudo commands in this backup script, it simply runs some isql and compress commands.
Also, I can 'su - sybase' and create files that are properly owned by sybase, so I dont understand what's going on here.
Why would the files be created with root ownership and how can I fix this?
TIA,
Joshua M. Miller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:02 AM
05-08-2007 04:02 AM
Re: New filesystem, created files are owned by root
Have you tried running the script with a -x option to aid debugging. YOu maybe able to see where/when this change of ownership is occuring.
HTH
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:14 AM
05-08-2007 04:14 AM
Re: New filesystem, created files are owned by root
I will try that shortly when the DBA stops all of the processes that I have started through my testing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:19 AM
05-08-2007 04:19 AM
Re: New filesystem, created files are owned by root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:29 AM
05-08-2007 04:29 AM
Re: New filesystem, created files are owned by root
Berd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:33 AM
05-08-2007 04:33 AM
Re: New filesystem, created files are owned by root
check, if the file creating program - or one of its child programs - has owner root and s-Bit set!
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 04:35 AM
05-08-2007 04:35 AM
Re: New filesystem, created files are owned by root
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2007 07:11 AM
05-08-2007 07:11 AM
Re: New filesystem, created files are owned by root
Thank you Berd and Peter for your responses, especially the '-x' tip Berd!