<?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: chown : Not owner in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077190#M730372</link>
    <description>Did the (empty) file iy exist before you touched it, with ownership puma?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
    <pubDate>Thu, 01 Nov 2007 03:21:51 GMT</pubDate>
    <dc:creator>MarkSyder</dc:creator>
    <dc:date>2007-11-01T03:21:51Z</dc:date>
    <item>
      <title>chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077179#M730361</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I have two user IDs. user csms and user ftpcsms. csms is normal user ID and ftpcsms is ftponly and belongs to group ftponly. csms also is a part of group ftpcsms. But csms is not able to modify the ownership of a file created by him to ftpcsms.&lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x 1 bin bin 24576 Nov 14 2000 /usr/bin/chown&lt;BR /&gt;&lt;BR /&gt;All looks good with chown. The error just says 'not owner' ... Any fix of it?&lt;BR /&gt;&lt;BR /&gt;thank you!</description>
      <pubDate>Wed, 31 Oct 2007 03:03:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077179#M730361</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-10-31T03:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077180#M730362</link>
      <description>What file are you truying to change ? Can you list it with ll and show the oputput ?&lt;BR /&gt;&lt;BR /&gt;The "Not owner" message means you cannot change the ownership of a file that is not owned by you. This is a normal message if the file is not yours, that is why Iask for you to list the output of ll here.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 03:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077180#M730362</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-10-31T03:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077181#M730363</link>
      <description>What file are you trying to change ? Can you list it with ll and show the output ?&lt;BR /&gt;&lt;BR /&gt;The "Not owner" message means you cannot change the ownership of a file that is not owned by you. This is a normal message if the file is not yours, that is why Iask for you to list the output of ll here.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 03:13:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077181#M730363</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-10-31T03:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077182#M730364</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I would also look at the permissions of the directory you are in. If the recipient user does not have permissions to that directory chown will fail with the same error.&lt;BR /&gt;&lt;BR /&gt;ls -ld /directory&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Andrew Y</description>
      <pubDate>Wed, 31 Oct 2007 03:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077182#M730364</guid>
      <dc:creator>Andrew Young_2</dc:creator>
      <dc:date>2007-10-31T03:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077183#M730365</link>
      <description>Please see...two users here 'puma' and 'ftprs81'&lt;BR /&gt;&lt;BR /&gt;[2459] cceor10:slr/kkn $ touch iy&lt;BR /&gt;[2460] cceor10:slr/kkn $ ll -d iy&lt;BR /&gt;-rw-r-----   1 puma       MFGPRO           0 Oct 31 08:40 iy&lt;BR /&gt;[2461] cceor10:slr/kkn $ chmod 660 iy&lt;BR /&gt;[2462] cceor10:slr/kkn $ ll -d iy    &lt;BR /&gt;-rw-rw----   1 puma       MFGPRO           0 Oct 31 08:40 iy&lt;BR /&gt;[2463] cceor10:slr/kkn $ chown ftprs81:ftponly iy&lt;BR /&gt;iy: Not owner&lt;BR /&gt;[2464] cceor10:slr/kkn $ chown ftprs81 iy&lt;BR /&gt;iy: Not owner&lt;BR /&gt;[2467] cceor10:slr/kkn $ &lt;BR /&gt;&lt;BR /&gt;$id ftprs81&lt;BR /&gt;uid=27912(ftprs81) gid=606(ftponly)&lt;BR /&gt;$id puma&lt;BR /&gt;uid=26793(puma) gid=600(MFGPRO) groups=601(mfgadm),607(socks),606(ftponly)&lt;BR /&gt;$who am i&lt;BR /&gt;puma&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 03:24:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077183#M730365</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-10-31T03:24:46Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077184#M730366</link>
      <description>That is indeed incorrect behaviour.&lt;BR /&gt;Maybe we first need to check the basics : What OS version are you running, and what is the output of "swlist -l product | grep chown" ?</description>
      <pubDate>Wed, 31 Oct 2007 03:48:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077184#M730366</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-10-31T03:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077185#M730367</link>
      <description>Please advice...&lt;BR /&gt;&lt;BR /&gt;pwd&lt;BR /&gt;/puma/puma/tmp/slr/kkn&lt;BR /&gt;drwxrwxrwx  16 puma       MFGPRO        8192 Oct 31 08:40 kkn&lt;BR /&gt;drwxrwxrwx  12 puma       MFGPRO        8192 Oct 30 19:55 slr&lt;BR /&gt;drwxrwxrwx  29 puma       MFGPRO     14237696 Oct 31 09:48 tmp&lt;BR /&gt;drwxrwxr-x  40 puma       MFGPRO       49152 Oct 31 09:48 puma&lt;BR /&gt;</description>
      <pubDate>Wed, 31 Oct 2007 03:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077185#M730367</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-10-31T03:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077186#M730368</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;no output came for swlist -l product | grep chown&lt;BR /&gt;&lt;BR /&gt;Version is 11.11&lt;BR /&gt;&lt;BR /&gt;HP-UX cceor10 B.11.11 U 9000/800 3947100180 unlimited-user license</description>
      <pubDate>Wed, 31 Oct 2007 03:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077186#M730368</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-10-31T03:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077187#M730369</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;Could you attach the output of getprivgrp?&lt;BR /&gt;&lt;BR /&gt;Regards;&lt;BR /&gt;&lt;BR /&gt;J. Bravo.</description>
      <pubDate>Wed, 31 Oct 2007 05:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077187#M730369</guid>
      <dc:creator>J. Bravo</dc:creator>
      <dc:date>2007-10-31T05:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077188#M730370</link>
      <description>Still trying to find a clue ... &lt;BR /&gt;&lt;BR /&gt;What is the output of "pwget | grep 26793"&lt;BR /&gt;I am looking for a possible duplicate UID.&lt;BR /&gt;&lt;BR /&gt;What if you try the same chown operation on a file in /tmp or /var/tmp ? (Maybe the failure is directory-specific ?)</description>
      <pubDate>Wed, 31 Oct 2007 05:21:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077188#M730370</guid>
      <dc:creator>Wim Rombauts</dc:creator>
      <dc:date>2007-10-31T05:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077189#M730371</link>
      <description>&amp;gt;Andrew: I would also look at the permissions of the directory you are in. If the recipient user does not have permissions to that directory chown will fail with the same error.&lt;BR /&gt;&lt;BR /&gt;I have never heard of that.  Just whether you are owner or not.  Or the point J. Bravo is making about getprivgrp.  (Or of course a readonly file system.)&lt;BR /&gt;&lt;BR /&gt;You can set your system up so nobody but users having CHOWN can do it:&lt;BR /&gt;$ getprivgrp&lt;BR /&gt;global privileges: CHOWN&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Wim: what is the output of "swlist -l product | grep chown" ?&lt;BR /&gt;&lt;BR /&gt;This won't work.  You need "-l file".  And if you know the fileset you can use:&lt;BR /&gt;# swlist -l file *.UX2-CORE | fgrep /usr/bin/chown&lt;BR /&gt;&lt;BR /&gt;&amp;gt;J. Bravo: Could you attach the output of getprivgrp?&lt;BR /&gt;&lt;BR /&gt;Exactly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Wim: (Maybe the failure is directory-specific?)&lt;BR /&gt;&lt;BR /&gt;That would only be for NFS read only file systems.  Which we know is not the case because touch(1) worked.</description>
      <pubDate>Wed, 31 Oct 2007 21:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077189#M730371</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-10-31T21:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077190#M730372</link>
      <description>Did the (empty) file iy exist before you touched it, with ownership puma?&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Thu, 01 Nov 2007 03:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077190#M730372</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2007-11-01T03:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077191#M730373</link>
      <description>Hello... The file is newly touched and here is the output :&lt;BR /&gt;$ getprivgrp&lt;BR /&gt;global privileges: &lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;Please advice How to fix it?</description>
      <pubDate>Thu, 01 Nov 2007 03:32:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077191#M730373</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-11-01T03:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077192#M730374</link>
      <description>/etc/privgroup is where you can change defaults. remove the file if not using any restrictions, restart with /sbin/init.d/set_prvgrp.&lt;BR /&gt;&lt;BR /&gt;enable global chown (default)&lt;BR /&gt;setprivgrp -g CHOWN&lt;BR /&gt;&lt;BR /&gt;for securety requirements though, you may want to restrict who can run chown.&lt;BR /&gt;&lt;BR /&gt;see man setprivgrp for details.&lt;BR /&gt;ftpcsms CHOWN&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 09:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077192#M730374</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2007-11-01T09:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077193#M730375</link>
      <description>Execute an ls -n on the file so we can see the UID of the file's owner.&lt;BR /&gt;&lt;BR /&gt;Is there a duplicate UID for puma ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Nov 2007 12:46:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077193#M730375</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-11-01T12:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077194#M730376</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;You need to issue the setprivgrp (or to configure the /etc/privgroup for the users you want to work the chown) with the CHOWN privilige in order to the chmod works again. For my servers, the configuration is the default:&lt;BR /&gt;&lt;BR /&gt;# getprivgrp&lt;BR /&gt;global privileges: CHOWN &lt;BR /&gt;&lt;BR /&gt;Regards;&lt;BR /&gt;&lt;BR /&gt;J. Bravo.</description>
      <pubDate>Fri, 02 Nov 2007 03:25:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077194#M730376</guid>
      <dc:creator>J. Bravo</dc:creator>
      <dc:date>2007-11-02T03:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: chown : Not owner</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077195#M730377</link>
      <description>Thanks to all for all your help!!!&lt;BR /&gt;&lt;BR /&gt;Have a great weekend.</description>
      <pubDate>Fri, 02 Nov 2007 03:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chown-not-owner/m-p/5077195#M730377</guid>
      <dc:creator>panchpan</dc:creator>
      <dc:date>2007-11-02T03:40:02Z</dc:date>
    </item>
  </channel>
</rss>

