- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- chown shared memory?
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
04-12-2002 01:07 AM
04-12-2002 01:07 AM
chown shared memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:12 AM
04-12-2002 01:12 AM
Re: chown shared memory?
Instead of fixing the end result why not fix it at source.
Get the software guys to do the job correctly.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:15 AM
04-12-2002 01:15 AM
Re: chown shared memory?
I don't believe we can chown shared memory, but why doing this ?
Solve the problem why it gets the wrong owner !
Ask the programmers to do their job. This instead of you fixing their problems.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:29 AM
04-12-2002 01:29 AM
Re: chown shared memory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:36 AM
04-12-2002 01:36 AM
Re: chown shared memory?
As I already said, I don't think it can be done on OS level. It has to be done on program level.
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:44 AM
04-12-2002 01:44 AM
Re: chown shared memory?
If the ownership of this shared memory causes a problem then options:-
1. Get Dev to fix it.
2. Fix as you are doing.
3. Change user profiles/groups so that there is no ownership problem.
4. Put script in place to pick up the wrong ownership and either fix it / zap the user or send out warning.
5. Option the last - forget about it - Its Friday the sun is shining and the Pubs are open.
;^)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:49 AM
04-12-2002 01:49 AM
Re: chown shared memory?
The last option is the best :-)
Clemens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:51 AM
04-12-2002 01:51 AM
Re: chown shared memory?
As Andy is from the UK I thought he would appreciate that.
;^)
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:52 AM
04-12-2002 01:52 AM
Re: chown shared memory?
I don't think it is possible on an existing shared memory being used. You have to do it at the source level.
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 02:08 AM
04-12-2002 02:08 AM
Re: chown shared memory?
Not sure if there's a tool out there yet, but you can roll-your-own utility to do this using shmctl().
man shmctl for details.
But as others have pointed out, this is best addressed by the developers.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 03:50 AM
04-12-2002 03:50 AM
Re: chown shared memory?
If you do ipcs -ma you see owner and group permissions listed. Surely grouping them all together will fix it.