<?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: should I use setgid in this situation, or something else? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287567#M72179</link>
    <description>Hanry,&lt;BR /&gt;&lt;BR /&gt;Check this thread in the HP-UX forumr ???&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=603007" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=603007&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now you have 2 competing threads and I feel like loosing time answering this one... :-)&lt;BR /&gt;&lt;BR /&gt;JP</description>
    <pubDate>Wed, 26 May 2004 13:03:11 GMT</pubDate>
    <dc:creator>Jeroen Peereboom</dc:creator>
    <dc:date>2004-05-26T13:03:11Z</dc:date>
    <item>
      <title>should I use setgid in this situation, or something else?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287564#M72176</link>
      <description>I have a number of files "xyz.1", xyz.2",... under the directory "dirname"&lt;BR /&gt;&lt;BR /&gt;cd dirname(with permission of 775)&lt;BR /&gt;ls -l&lt;BR /&gt;-rw-rw----  david   users   xyz.1&lt;BR /&gt;-rw-rw----  david   users   xyz.2&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;now, I have another id called "john", and he belongs to group "grp-a", and "john" want to be able to read all these xyz.* files. What I should do to achive this?&lt;BR /&gt;&lt;BR /&gt;I did chmod 2775 on dirname, but "john" still can't read all these xyz.* file.&lt;BR /&gt;&lt;BR /&gt;Can 2775 to achive what I want, and what is the correct method to achive what I want.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 May 2004 10:03:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287564#M72176</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2004-05-26T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: should I use setgid in this situation, or something else?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287565#M72177</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;setgid is NOT what you want. Setgid is used for programs, such that if you execute the program your group is changed to that of the programfile.&lt;BR /&gt;&lt;BR /&gt;Easiest solutions:&lt;BR /&gt;Add john to the users group?&lt;BR /&gt;Make the files world-readable (-rw-rw-r--)?&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Wed, 26 May 2004 10:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287565#M72177</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-05-26T10:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: should I use setgid in this situation, or something else?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287566#M72178</link>
      <description>Actually, if you add "john" to group users you won't need world readable permission on the files.  Remember a user can be in more than one group.  Have a look at /etc/group</description>
      <pubDate>Wed, 26 May 2004 11:52:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287566#M72178</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-26T11:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: should I use setgid in this situation, or something else?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287567#M72179</link>
      <description>Hanry,&lt;BR /&gt;&lt;BR /&gt;Check this thread in the HP-UX forumr ???&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=603007" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=603007&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now you have 2 competing threads and I feel like loosing time answering this one... :-)&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Wed, 26 May 2004 13:03:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/should-i-use-setgid-in-this-situation-or-something-else/m-p/3287567#M72179</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-05-26T13:03:11Z</dc:date>
    </item>
  </channel>
</rss>

