<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple groupowners for a single directory. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217724#M686398</link>
    <description>As Srikrishan stated, you want to use setacl. Here is a quick example:&lt;BR /&gt;&lt;BR /&gt;setacl -m default:group:groupname:rw- some_dir&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;setacl -m group:groupname:rw- somefile &lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;setacl -m group:groupname:rw- *&lt;BR /&gt;&lt;BR /&gt;You could use the find command with -exec to make changes to all the files and folders underneath the directory.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.</description>
    <pubDate>Tue, 17 Jun 2008 11:14:46 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2008-06-17T11:14:46Z</dc:date>
    <item>
      <title>Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217719#M686393</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;Is it possible to give multiple groupowners for a single directory? Please suggest.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sudhakaran.K</description>
      <pubDate>Tue, 17 Jun 2008 08:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217719#M686393</guid>
      <dc:creator>sudhapage</dc:creator>
      <dc:date>2008-06-17T08:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217720#M686394</link>
      <description>Not sure abt the answer but What made you think of this kind solution?&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Sri</description>
      <pubDate>Tue, 17 Jun 2008 08:51:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217720#M686394</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-17T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217721#M686395</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Actually we have three groups with differnet users.&lt;BR /&gt;&lt;BR /&gt;And we need to assign 3 groups as a owner of one single directory.&lt;BR /&gt;&lt;BR /&gt;Also later we want to add more groupowner for this directory.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sudhakaran.K</description>
      <pubDate>Tue, 17 Jun 2008 09:11:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217721#M686395</guid>
      <dc:creator>sudhapage</dc:creator>
      <dc:date>2008-06-17T09:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217722#M686396</link>
      <description>Ok..Which filesystem are you using&lt;BR /&gt;&lt;BR /&gt;ACLs can help you..</description>
      <pubDate>Tue, 17 Jun 2008 10:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217722#M686396</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-17T10:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217723#M686397</link>
      <description>see "man setfacl" and "man getfacl"&lt;BR /&gt;This two commands will do the job for you</description>
      <pubDate>Tue, 17 Jun 2008 10:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217723#M686397</guid>
      <dc:creator>Srimalik</dc:creator>
      <dc:date>2008-06-17T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple groupowners for a single directory.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217724#M686398</link>
      <description>As Srikrishan stated, you want to use setacl. Here is a quick example:&lt;BR /&gt;&lt;BR /&gt;setacl -m default:group:groupname:rw- some_dir&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;setacl -m group:groupname:rw- somefile &lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;setacl -m group:groupname:rw- *&lt;BR /&gt;&lt;BR /&gt;You could use the find command with -exec to make changes to all the files and folders underneath the directory.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.</description>
      <pubDate>Tue, 17 Jun 2008 11:14:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/multiple-groupowners-for-a-single-directory/m-p/4217724#M686398</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-06-17T11:14:46Z</dc:date>
    </item>
  </channel>
</rss>

