<?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: Assign a directory for two different users in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533390#M869520</link>
    <description>Yes,see &lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1996-90011/B1996-90011_top.html&amp;amp;con=/hpux/onlinedocs/B1996-90011/00/01/130-con.html&amp;amp;toc=/hpux/onlinedocs/B1996-90011/00/01/130-toc.html&amp;amp;searchterms=acl&amp;amp;queryid=20010528-043946" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1996-90011/B1996-90011_top.html&amp;amp;con=/hpux/onlinedocs/B1996-90011/00/01/130-con.html&amp;amp;toc=/hpux/onlinedocs/B1996-90011/00/01/130-toc.html&amp;amp;searchterms=acl&amp;amp;queryid=20010528-043946&lt;/A&gt;</description>
    <pubDate>Mon, 28 May 2001 10:41:45 GMT</pubDate>
    <dc:creator>Vincenzo Restuccia</dc:creator>
    <dc:date>2001-05-28T10:41:45Z</dc:date>
    <item>
      <title>Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533388#M869518</link>
      <description>Is it possible to assign a directory for two different users ?&lt;BR /&gt;Problem:&lt;BR /&gt;I have two users, belonging to one group.&lt;BR /&gt;I want the two users to read and write in a directory and their group only to read in this directory. Is this possible anyway?&lt;BR /&gt;Thanks&lt;BR /&gt;Bettina</description>
      <pubDate>Mon, 28 May 2001 09:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533388#M869518</guid>
      <dc:creator>Bettina Ofner</dc:creator>
      <dc:date>2001-05-28T09:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533389#M869519</link>
      <description>Hi Bettina,&lt;BR /&gt;&lt;BR /&gt;Yes, if I understand your question, it is possible. You will need to set acl's (Access Control Lists) for this directory. Acl's allow more explicit control for file/directory permissions. The bad news is that acl's are non-standard UNIX and most backups do not preserve the acl information so that if you have to do a restore, you must re-assert the acl data. You can keep a file with the acl statements that can be backed up so that you can run a script to reset the acl data. You can man getacl and setacl for details.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Mon, 28 May 2001 10:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533389#M869519</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-28T10:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533390#M869520</link>
      <description>Yes,see &lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1996-90011/B1996-90011_top.html&amp;amp;con=/hpux/onlinedocs/B1996-90011/00/01/130-con.html&amp;amp;toc=/hpux/onlinedocs/B1996-90011/00/01/130-toc.html&amp;amp;searchterms=acl&amp;amp;queryid=20010528-043946" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1996-90011/B1996-90011_top.html&amp;amp;con=/hpux/onlinedocs/B1996-90011/00/01/130-con.html&amp;amp;toc=/hpux/onlinedocs/B1996-90011/00/01/130-toc.html&amp;amp;searchterms=acl&amp;amp;queryid=20010528-043946&lt;/A&gt;</description>
      <pubDate>Mon, 28 May 2001 10:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533390#M869520</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-05-28T10:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533391#M869521</link>
      <description>Does this work on vxfs filesystem too ?&lt;BR /&gt;Can you give me an example ?&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 28 May 2001 11:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533391#M869521</guid>
      <dc:creator>Bettina Ofner</dc:creator>
      <dc:date>2001-05-28T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533392#M869522</link>
      <description>Yes it does work on vxfs filesystems. The man pages mentions JFS - that is the old name or rather the alternate name for vxfs.&lt;BR /&gt;&lt;BR /&gt;The examples in setacl are fairly clear but I suggest you create a play directory to test this.&lt;BR /&gt;&lt;BR /&gt;For our example I'll use usera who is a member of groupa as the directory (dira) owner.&lt;BR /&gt;&lt;BR /&gt;We set the permissions of dira to 750.&lt;BR /&gt;chown -R usera:groupa dira&lt;BR /&gt;chmod 750 dira.&lt;BR /&gt;&lt;BR /&gt;Now everyone who is a member of groupa can read the directory but only usera can create files. &lt;BR /&gt;Now lets set acl's for userb (who is also a member of groupa).&lt;BR /&gt;setacl -m user:userb:7 dira&lt;BR /&gt;&lt;BR /&gt;Now userb can also create files in dira.&lt;BR /&gt;&lt;BR /&gt;You can also do the same operations on files.&lt;BR /&gt;&lt;BR /&gt;Hope this gets you started, Clay&lt;BR /&gt;</description>
      <pubDate>Mon, 28 May 2001 11:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533392#M869522</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-28T11:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533393#M869523</link>
      <description>What do I need for setacl ?&lt;BR /&gt;If I try the command I receive the message &lt;BR /&gt;sh: setacl: not found</description>
      <pubDate>Mon, 28 May 2001 13:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533393#M869523</guid>
      <dc:creator>Bettina Ofner</dc:creator>
      <dc:date>2001-05-28T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533394#M869524</link>
      <description>Hi Bettina,&lt;BR /&gt;&lt;BR /&gt;You need OnlineJFS Version 3.3. Vrsn 3.1 does not support it - this is one of the new features. 3.3 is only available on 11.0 or 11i; if you are running 10.20 then forget it.&lt;BR /&gt;&lt;BR /&gt;If you do not have OnlineJFS you could also do this in an HFS filesystem in a very similar way using chacl, lsacl, etc. commands. &lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Mon, 28 May 2001 13:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533394#M869524</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-05-28T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Assign a directory for two different users</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533395#M869525</link>
      <description>Thank you very much !&lt;BR /&gt;Bettina</description>
      <pubDate>Tue, 29 May 2001 05:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/assign-a-directory-for-two-different-users/m-p/2533395#M869525</guid>
      <dc:creator>Bettina Ofner</dc:creator>
      <dc:date>2001-05-29T05:46:21Z</dc:date>
    </item>
  </channel>
</rss>

