<?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: Find by GID (13) in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044322#M433550</link>
    <description>SEE ABOVE.</description>
    <pubDate>Thu, 03 May 2007 13:21:46 GMT</pubDate>
    <dc:creator>Tonya Underwood</dc:creator>
    <dc:date>2007-05-03T13:21:46Z</dc:date>
    <item>
      <title>Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044313#M433541</link>
      <description>I had two dba entries in my group file causing issues.  I need to find all files on my server owned by GID 13 (I've removed the dup entry) and chgrp to dba (the correct GID 130).&lt;BR /&gt;&lt;BR /&gt;drwxrwxrwx   2 autosys    sys           8192 Apr 28 03:14 Autolog&lt;BR /&gt;drwxr-xr-x   2 psa        13              96 Nov 21 09:24 DBA&lt;BR /&gt;drwxr-xr-x   2 psa        sys             96 Nov 21 09:24 EBR&lt;BR /&gt;drwxrwxr-x   2 psa        13              96 Nov 21 09:24 SAP&lt;BR /&gt;drwxr-xr-x   2 root       sys             96 Nov 21 09:24 UX&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I've tried find / -group 13 -xdev -exec ll {} \; just to see if my syntax is correct but it isn't even close.&lt;BR /&gt;&lt;BR /&gt;Can show how to pick out that GID 13 which no longer exists in group file?</description>
      <pubDate>Thu, 03 May 2007 12:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044313#M433541</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-05-03T12:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044314#M433542</link>
      <description>Create temporary group (dba1) with GID 13. &lt;BR /&gt;Find all files:&lt;BR /&gt;&lt;BR /&gt;find / -group dba1 -xdev -exec ll{} \;&lt;BR /&gt;&lt;BR /&gt;After that change group ownership to 130 and delete group dba1.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 03 May 2007 12:51:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044314#M433542</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2007-05-03T12:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044315#M433543</link>
      <description>Tonya,&lt;BR /&gt;&lt;BR /&gt;I'm just guessing because the man page confuses me.  It says "True if the file belongs to the group gname.  If gname is numeric and does not appear in the /etc/group file, it is taken as a group ID."&lt;BR /&gt;&lt;BR /&gt;Unable to interpret that particular phrasing, I would suggest creating an entry for GID 13 that names some fictitious group and then searching on the group name.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 03 May 2007 12:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044315#M433543</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-05-03T12:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044316#M433544</link>
      <description>Hmmm... I see... creating a temp entry works... but I think that the man page is wrong. It is misleading at best.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Tonya</description>
      <pubDate>Thu, 03 May 2007 12:54:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044316#M433544</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-05-03T12:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044317#M433545</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# find /path -xdev -group 13 -exec chgrp dba {} \+&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 03 May 2007 12:57:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044317#M433545</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-05-03T12:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044318#M433546</link>
      <description>There is nothing wrong with your find command although it is possible that you are not executing the "ll" that you think you are.&lt;BR /&gt;&lt;BR /&gt;Do a "type ll" to make sure that it is the command you want and not an alias or use ls -l&lt;BR /&gt;&lt;BR /&gt;find / -group 13 -xdev -exec ls -l {}&lt;SPACE&gt;\;&lt;BR /&gt;&lt;BR /&gt;should do just what you want and the lack of a corresponding group entry shouldn't matter.&lt;BR /&gt;&lt;BR /&gt;Of course, if all you want to do to list those files then &lt;BR /&gt;&lt;BR /&gt;find / -group 13 -xdev &amp;gt; /tmp/mylist&lt;BR /&gt;&lt;/SPACE&gt;</description>
      <pubDate>Thu, 03 May 2007 12:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044318#M433546</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-03T12:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044319#M433547</link>
      <description>You should also note that a very useful find option is -nogroup.</description>
      <pubDate>Thu, 03 May 2007 12:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044319#M433547</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-03T12:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044320#M433548</link>
      <description>nice... I may actually try a mess up with that. THANKS!</description>
      <pubDate>Thu, 03 May 2007 13:11:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044320#M433548</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-05-03T13:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044321#M433549</link>
      <description>Hi Tonya,&lt;BR /&gt;&lt;BR /&gt;I would suggest skipping the -xdev option. Your find command starts in the / directory and the -xdev option prevents you from crossing mount points, i.e. you will never enter other file systems than root - and  the other filesystems are probably where the interesting files are located.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.</description>
      <pubDate>Thu, 03 May 2007 13:20:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044321#M433549</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2007-05-03T13:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find by GID (13)</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044322#M433550</link>
      <description>SEE ABOVE.</description>
      <pubDate>Thu, 03 May 2007 13:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-by-gid-13/m-p/5044322#M433550</guid>
      <dc:creator>Tonya Underwood</dc:creator>
      <dc:date>2007-05-03T13:21:46Z</dc:date>
    </item>
  </channel>
</rss>

