- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Multiple groupowners for a single directory.
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-2008 01:18 AM
06-17-2008 01:18 AM
Multiple groupowners for a single directory.
Is it possible to give multiple groupowners for a single directory? Please suggest.
Regards,
Sudhakaran.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 01:51 AM
06-17-2008 01:51 AM
Re: Multiple groupowners for a single directory.
What is the reason don't you want single group ownership, You can add the user to whom you want to give access to this group.
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 02:11 AM
06-17-2008 02:11 AM
Re: Multiple groupowners for a single directory.
Actually we have three groups with differnet users.
And we need to assign 3 groups as a owner of one single directory.
Also later we want to add more groupowner for this directory.
Regards,
Sudhakaran.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 03:28 AM
06-17-2008 03:28 AM
Re: Multiple groupowners for a single directory.
ACLs can help you..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 03:36 AM
06-17-2008 03:36 AM
Re: Multiple groupowners for a single directory.
This two commands will do the job for you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2008 04:14 AM
06-17-2008 04:14 AM
Re: Multiple groupowners for a single directory.
setacl -m default:group:groupname:rw- some_dir
The above example will give a group rw access to a directory and the default keyword would give any files and folders created within the directory those default perms. One thing to note is that if you already have files under the folder that you are going to give the other groups access, you will need to change the perms on the files in the folder. Changing the perms with setacl does not propogate to the files and folders within the directory you made the permission changes to. In that case you can do something like this:
setacl -m group:groupname:rw- somefile
or
setacl -m group:groupname:rw- *
You could use the find command with -exec to make changes to all the files and folders underneath the directory.
Hope that helps.