<?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: sgid question (really scratching my head!!!!) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869262#M25337</link>
    <description>Ivan, ok... that makes sense.  Which leads me to my next question: how then (without intervention from root), can the user manager create a file in the /depts/hr directory that is executable?  e.g. mgr.sh.</description>
    <pubDate>Mon, 25 Sep 2006 17:06:10 GMT</pubDate>
    <dc:creator>joseph wholey</dc:creator>
    <dc:date>2006-09-25T17:06:10Z</dc:date>
    <item>
      <title>sgid question (really scratching my head!!!!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869260#M25335</link>
      <description>Why, can't user "manager" change the  permissions on file /depts/hr/mgr.sh?  Group has rwx.         &lt;BR /&gt;&lt;BR /&gt;[manager@jgwlinux /]$ id manager&lt;BR /&gt;uid=521(manager) gid=521(manager) groups=521(manager),10000(sales),10001(hr),10002(web)&lt;BR /&gt;&lt;BR /&gt;[manager@jgwlinux /]$ ls -ld /depts&lt;BR /&gt;drwxr-xr-x  5 root root 4096 Sep 25 13:54 /depts&lt;BR /&gt;&lt;BR /&gt;[manager@jgwlinux /]$ ls -la /depts&lt;BR /&gt;total 36&lt;BR /&gt;drwxr-xr-x   5 root root  4096 Sep 25 13:54 .&lt;BR /&gt;drwxr-xr-x  25 root root  4096 Sep 24 20:17 ..&lt;BR /&gt;drwxrws---   2 root hr    4096 Sep 25 15:43 hr&lt;BR /&gt;&lt;BR /&gt;[manager@jgwlinux hr]$ ls -la /depts/hr&lt;BR /&gt;total 20&lt;BR /&gt;drwxrws---  2 root    hr   4096 Sep 25 15:43 .&lt;BR /&gt;drwxr-xr-x  5 root    root 4096 Sep 25 13:54 ..&lt;BR /&gt;-rw-rw-r--  1 manager hr     35 Sep 25 15:10 mgr.sh&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Sep 2006 15:11:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869260#M25335</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-09-25T15:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: sgid question (really scratching my head!!!!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869261#M25336</link>
      <description>Only the user owner can change the permissions of a file. Group permissions indicates if the file can be read, writed or executed, but does not indicates that the permissions can be modified.</description>
      <pubDate>Mon, 25 Sep 2006 15:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869261#M25336</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-09-25T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: sgid question (really scratching my head!!!!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869262#M25337</link>
      <description>Ivan, ok... that makes sense.  Which leads me to my next question: how then (without intervention from root), can the user manager create a file in the /depts/hr directory that is executable?  e.g. mgr.sh.</description>
      <pubDate>Mon, 25 Sep 2006 17:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869262#M25337</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-09-25T17:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: sgid question (really scratching my head!!!!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869263#M25338</link>
      <description>Wait a minute, I was seeing wrong your previous post, I was thinking that the owner of mgr.sh was root.hr. In this case, the owner of mgr.sh is manager, so it should be able to change the permissions of the file.&lt;BR /&gt;&lt;BR /&gt;What happens if you try to change the permissions of the file? what is the command that you use? what is the error that you get?</description>
      <pubDate>Mon, 25 Sep 2006 17:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869263#M25338</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-09-25T17:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: sgid question (really scratching my head!!!!)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869264#M25339</link>
      <description>Ivan... thanks for your help.  It was an oversight.  sorry!!!</description>
      <pubDate>Mon, 25 Sep 2006 17:37:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sgid-question-really-scratching-my-head/m-p/3869264#M25339</guid>
      <dc:creator>joseph wholey</dc:creator>
      <dc:date>2006-09-25T17:37:29Z</dc:date>
    </item>
  </channel>
</rss>

