<?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: GNU chown exits after Operation not permitted in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922770#M85102</link>
    <description>&lt;BR /&gt;the problem is simple, you need to run the chown as root user only. &lt;BR /&gt;&lt;BR /&gt;changing of any file attributes is allowed only if the file is owned by the user or group (with write permission) or others(write permission is required). otherwise only root is allowed to modify.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
    <pubDate>Thu, 01 Sep 2005 06:42:46 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-09-01T06:42:46Z</dc:date>
    <item>
      <title>GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922765#M85097</link>
      <description>Why GNU (Linux AS 3.0) does not allow to change ownership of a  file to owner of the user. How can we fix this.</description>
      <pubDate>Thu, 01 Sep 2005 05:13:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922765#M85097</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-01T05:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922766#M85098</link>
      <description>There may be a bug. Are you current on fixes and up2date or yum?&lt;BR /&gt;&lt;BR /&gt;pwck&lt;BR /&gt;grpck&lt;BR /&gt;&lt;BR /&gt;If those commands exist there may be a problem in the /etc/passwd or /etc/shadow or /etc/group file.&lt;BR /&gt;&lt;BR /&gt;There may be a better message in /var/log/messages or dmesg output.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 01 Sep 2005 05:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922766#M85098</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-01T05:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922767#M85099</link>
      <description>/var/log/messages or dmesg output does not telling me anything regarding this.&lt;BR /&gt;==&lt;BR /&gt;[root@whdb3 root]# uname -a&lt;BR /&gt;Linux whdb3.americas.corp.timex.com 2.4.21-27.0.4.ELsmp #1 SMP Sat Apr 16 18:43:06 EDT 2005 i686 i686 i386 GNU/Linux&lt;BR /&gt;[root@whdb3 root]# pwck&lt;BR /&gt;user adm: directory /var/adm does not exist&lt;BR /&gt;user news: directory /etc/news does not exist&lt;BR /&gt;user uucp: directory /var/spool/uucp does not exist&lt;BR /&gt;user gopher: directory /var/gopher does not exist&lt;BR /&gt;user ident: directory /home/ident does not exist&lt;BR /&gt;user pcap: directory /var/arpwatch does not exist&lt;BR /&gt;pwck: no changes&lt;BR /&gt;[root@whdb3 root]# grpck&lt;BR /&gt;[root@whdb3 root]#&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 06:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922767#M85099</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-01T06:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922768#M85100</link>
      <description>&lt;BR /&gt;which file you are trying to change? is it single file or group of files? &lt;BR /&gt;&lt;BR /&gt;I believe you are trying this as root user, otherwise that is the problem, you have to run chown as root.&lt;BR /&gt;&lt;BR /&gt;Are you running this from some sort of restricted shell? &lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Sep 2005 06:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922768#M85100</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-09-01T06:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922769#M85101</link>
      <description>[akumar@whdb3 tmp]$ ll dfd&lt;BR /&gt;-rwxr-xr-x    1 akumar   it              8 Sep  1 05:31 dfd&lt;BR /&gt;[akumar@whdb3 tmp]$ chown appldwp.dba dfd&lt;BR /&gt;chown: changing ownership of `dfd': Operation not permitted&lt;BR /&gt;[akumar@whdb3 tmp]$ id&lt;BR /&gt;uid=504(akumar) gid=501(it) groups=501(it),0(root)&lt;BR /&gt;[akumar@whdb3 tmp]$&lt;BR /&gt;========&lt;BR /&gt;The above will answer your most of the questions. root is able to run chown, but no one else. even when akumar is a member of root group.</description>
      <pubDate>Thu, 01 Sep 2005 06:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922769#M85101</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-01T06:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922770#M85102</link>
      <description>&lt;BR /&gt;the problem is simple, you need to run the chown as root user only. &lt;BR /&gt;&lt;BR /&gt;changing of any file attributes is allowed only if the file is owned by the user or group (with write permission) or others(write permission is required). otherwise only root is allowed to modify.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 01 Sep 2005 06:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922770#M85102</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-09-01T06:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922771#M85103</link>
      <description>Gopi, u didnot read my message completly. the owner of the file is akumar(see ll output) and the current user is akumar only(see id output). I'm not that stupid as u think</description>
      <pubDate>Thu, 01 Sep 2005 08:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922771#M85103</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-01T08:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922772#M85104</link>
      <description>That is a normal behaviour. You cannot use the chown command with any other user besides root.&lt;BR /&gt;&lt;BR /&gt;If you want to share a file, you have two choises:&lt;BR /&gt;&lt;BR /&gt;Create a directory with the right group membership, and set the SGID bit to the directory. Instruct users to create "shared" files there. Make users needing the files members of the same group.&lt;BR /&gt;&lt;BR /&gt;Use SUDO to allow the use of chown command to users on they home directory only.</description>
      <pubDate>Thu, 01 Sep 2005 08:59:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922772#M85104</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-09-01T08:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922773#M85105</link>
      <description>I know you are not that stupid but still, you can not change ownership files owned by you to some other user id eventhough they are yours.&lt;BR /&gt;&lt;BR /&gt;Hope I am clear to you this time,&lt;BR /&gt;Gopi</description>
      <pubDate>Thu, 01 Sep 2005 10:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922773#M85105</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-09-01T10:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922774#M85106</link>
      <description>This works on HP-UX, why not in Linux?</description>
      <pubDate>Thu, 01 Sep 2005 10:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922774#M85106</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-01T10:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922775#M85107</link>
      <description>Because with a well planned directory structure and group membership, is not needed.&lt;BR /&gt;&lt;BR /&gt;You should read the User Private Group security scheme used by Linux.</description>
      <pubDate>Thu, 01 Sep 2005 10:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922775#M85107</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-09-01T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: GNU chown exits after Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922776#M85108</link>
      <description>So this is how it will work now. If u can not beat them join them ;). Changed my stretegy according to new constraints.&lt;BR /&gt;&lt;BR /&gt;Thanks to all.</description>
      <pubDate>Fri, 02 Sep 2005 00:31:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gnu-chown-exits-after-operation-not-permitted/m-p/4922776#M85108</guid>
      <dc:creator>Ashok Kumar_6</dc:creator>
      <dc:date>2005-09-02T00:31:51Z</dc:date>
    </item>
  </channel>
</rss>

