<?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: can a file 's owner be chaged to another user? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780333#M77019</link>
    <description>I don't have this problem:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ss7admin   ocadmin          0 Aug  6 09:57 file1&lt;BR /&gt;kibo:ss7admin&amp;gt; id&lt;BR /&gt;uid=101(ss7admin) gid=101(ocadmin)&lt;BR /&gt;kibo:ss7admin&amp;gt; whereis chown&lt;BR /&gt;chown: /sbin/chown /usr/bin/chown /usr/share/man/man1.Z/chown.1 /usr/share/man/m&lt;BR /&gt;an2.Z/chown.2&lt;BR /&gt;kibo:ss7admin&amp;gt; what /usr/bin/chown&lt;BR /&gt;/usr/bin/chown:&lt;BR /&gt;         $Revision: 80.1 $     &lt;BR /&gt;&lt;BR /&gt;kibo:ss7admin&amp;gt; chown ocmpadm:ocadmin file1&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ocmpadm    ocadmin          0 Aug  6 09:57 file1 &lt;BR /&gt;kibo:ss7admin&amp;gt; type chown&lt;BR /&gt;chown is /usr/bin/chown   &lt;BR /&gt;kibo:ss7admin&amp;gt; chown ss7admin:ocadmin file1&lt;BR /&gt;file1: Not owner&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ocmpadm    ocadmin          0 Aug  6 09:57 file1 &lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Aug 2002 07:46:47 GMT</pubDate>
    <dc:creator>Bill McNAMARA_1</dc:creator>
    <dc:date>2002-08-06T07:46:47Z</dc:date>
    <item>
      <title>can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780332#M77018</link>
      <description>Hi, friend,&lt;BR /&gt;    &lt;BR /&gt;   I login hp_un in user accout A, and change the owner of file x(owner is A) to user B, &lt;BR /&gt;   it failed with: &lt;BR /&gt;   chown: X: Not owner&lt;BR /&gt;   why?&lt;BR /&gt;   A and B is not root.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;sunny    &lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 07:39:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780332#M77018</guid>
      <dc:creator>faust2004</dc:creator>
      <dc:date>2002-08-06T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780333#M77019</link>
      <description>I don't have this problem:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ss7admin   ocadmin          0 Aug  6 09:57 file1&lt;BR /&gt;kibo:ss7admin&amp;gt; id&lt;BR /&gt;uid=101(ss7admin) gid=101(ocadmin)&lt;BR /&gt;kibo:ss7admin&amp;gt; whereis chown&lt;BR /&gt;chown: /sbin/chown /usr/bin/chown /usr/share/man/man1.Z/chown.1 /usr/share/man/m&lt;BR /&gt;an2.Z/chown.2&lt;BR /&gt;kibo:ss7admin&amp;gt; what /usr/bin/chown&lt;BR /&gt;/usr/bin/chown:&lt;BR /&gt;         $Revision: 80.1 $     &lt;BR /&gt;&lt;BR /&gt;kibo:ss7admin&amp;gt; chown ocmpadm:ocadmin file1&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ocmpadm    ocadmin          0 Aug  6 09:57 file1 &lt;BR /&gt;kibo:ss7admin&amp;gt; type chown&lt;BR /&gt;chown is /usr/bin/chown   &lt;BR /&gt;kibo:ss7admin&amp;gt; chown ss7admin:ocadmin file1&lt;BR /&gt;file1: Not owner&lt;BR /&gt;kibo:ss7admin&amp;gt; ll&lt;BR /&gt;total 0&lt;BR /&gt;-rw-rw-rw-   1 ocmpadm    ocadmin          0 Aug  6 09:57 file1 &lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 07:46:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780333#M77019</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-08-06T07:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780334#M77020</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Direct from the chown manpage, you will need to use setprivgrp. You can create a privgroup file in /etc i.e. /etc/privgroups as far as I recall off-hand for settings to stay permanent.&lt;BR /&gt;&lt;BR /&gt;========================================&lt;BR /&gt;In order to change the owner or group, you must own the file and have the CHOWN privilege (see setprivgrp 1M)).  If either command is invoked on a regular file by other than the superuser, the set-user-ID and set-group-ID bits of the file mode (04000 and 02000 respectively) are cleared.  Note that a given user's or group's ability to use this&lt;BR /&gt;command can be restricted by setprivgrp (see setprivgrp(1M)).&lt;BR /&gt;========================================&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Tue, 06 Aug 2002 07:51:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780334#M77020</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-08-06T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780335#M77021</link>
      <description>Only the owner of the file or root can change the ownership.&lt;BR /&gt;&lt;BR /&gt;your output is right.&lt;BR /&gt;&lt;BR /&gt;The owner should provide or give the ownership to another person to a file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 06 Aug 2002 07:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780335#M77021</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-06T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780336#M77022</link>
      <description>Hi,&lt;BR /&gt;Check the permissions of chown executable.&lt;BR /&gt;should be like this&lt;BR /&gt;-r-xr-xr-x   1 bin        bin     &lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 08:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780336#M77022</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-08-06T08:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: can a file 's owner be chaged to another user?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780337#M77023</link>
      <description>What's the result of "#which chown"? Is it "/usr/bin/chown"?&lt;BR /&gt;Please confirm that it hasn't been replaced by another chown!&lt;BR /&gt;&lt;BR /&gt;-Gerald-&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 11:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/can-a-file-s-owner-be-chaged-to-another-user/m-p/2780337#M77023</guid>
      <dc:creator>Fragon</dc:creator>
      <dc:date>2002-08-06T11:09:34Z</dc:date>
    </item>
  </channel>
</rss>

