<?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 command strangeness in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332692#M189385</link>
    <description>i have a example to process my view.&lt;BR /&gt;&lt;BR /&gt;newconfig directory as,&lt;BR /&gt;dr-x------   3 root       bin             96 Jul 15 22:07 newconfig&lt;BR /&gt;&lt;BR /&gt;with test.zip.Z file&lt;BR /&gt;-rw-rw-rw-   1 root       sys              9 Jul 15 22:07 test.zip.Z&lt;BR /&gt;&lt;BR /&gt;Now check the find command,&lt;BR /&gt;&lt;BR /&gt;root&amp;gt; find /opt/hpwebadmin/newconfig/ -name *.zip.Z -exec ll {} \;&lt;BR /&gt;-rw-rw-rw-   1 root       sys              9 Jul 15 22:07 /opt/hpwebadmin/newconfig/test.zip.Z&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Standard user&amp;gt; find /opt/hpwebadmin/newconfig/ -name *.zip.Z -exec ll {} \;&lt;BR /&gt;find: cannot open /opt/hpwebadmin/newconfig&lt;BR /&gt;&lt;BR /&gt; So *.zip.Z without "&lt;BR /&gt;&lt;BR /&gt; Move the test.zip.Z to /tmp (drwxrwxrwt permission) then search it as,&lt;BR /&gt;&lt;BR /&gt; user&amp;gt; find /tmp -name *.zip.Z -exec ll {} \;&lt;BR /&gt; -rw-rw-rw-   1 root       sys              9 Jul 15 22:07 /tmp/test.zip.Z&lt;BR /&gt;&lt;BR /&gt; Generally, some directories are not having permission to allow the standard users for searching.&lt;BR /&gt; &lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jul 2004 11:48:05 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2004-07-15T11:48:05Z</dc:date>
    <item>
      <title>find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332686#M189379</link>
      <description>Having an issue with using the find command.  When using the following command, root can find the files with no problem, but when a standard user tries the command, nothing is found.&lt;BR /&gt;&lt;BR /&gt;find ./ -name *.zip.Z&lt;BR /&gt;&lt;BR /&gt;root will come up with the files, but I get no match when a standard user tries the command.&lt;BR /&gt;&lt;BR /&gt;I use this in a script that is compressing and entire directory and then goes back to find any .zip.Z files in the subdirs and uncompresses them (because they became bigger when compress).  The script has the system bit turned on so that it runs as root, but the command still doesn't work when run by a standard user.  The files are all rw accessible by everyone.&lt;BR /&gt;&lt;BR /&gt;Any ideas as to why this happens or how to get around it would be appreciated.</description>
      <pubDate>Thu, 15 Jul 2004 11:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332686#M189379</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2004-07-15T11:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332687#M189380</link>
      <description>In this case you really should be quoting the name.&lt;BR /&gt;&lt;BR /&gt;See if this helps:&lt;BR /&gt;&lt;BR /&gt;find ./ -name "*.zip.Z"</description>
      <pubDate>Thu, 15 Jul 2004 11:34:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332687#M189380</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-07-15T11:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332688#M189381</link>
      <description>Guess, may be the user is running from wrong directory ??&lt;BR /&gt;# find &lt;PATH&gt; -name "*.zip.Z" -print&lt;BR /&gt;&lt;BR /&gt;&lt;/PATH&gt;</description>
      <pubDate>Thu, 15 Jul 2004 11:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332688#M189381</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-07-15T11:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332689#M189382</link>
      <description>hai,&lt;BR /&gt;&lt;BR /&gt; By using standard users, we can not find the files in privillaged directories. You will get find: cannot open directory error's&lt;BR /&gt;&lt;BR /&gt;  Check the directories permission. Standard may not have the permission to search in that. change the directory permission to allow the standard users to search in that.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 11:37:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332689#M189382</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-15T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332690#M189383</link>
      <description>That seems to work from the user account.  I'll put it in the script.  Hadn't thought of that.  Thanks!</description>
      <pubDate>Thu, 15 Jul 2004 11:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332690#M189383</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2004-07-15T11:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332691#M189384</link>
      <description>So many answers so quickly!&lt;BR /&gt;&lt;BR /&gt;To clarify my previous - using the quotes to do the find appears to be the answer to my problem.  The files and directories involved are all rw for all users, so priveleges are not the problem.</description>
      <pubDate>Thu, 15 Jul 2004 11:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332691#M189384</guid>
      <dc:creator>Jim Mickens</dc:creator>
      <dc:date>2004-07-15T11:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: find command strangeness</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332692#M189385</link>
      <description>i have a example to process my view.&lt;BR /&gt;&lt;BR /&gt;newconfig directory as,&lt;BR /&gt;dr-x------   3 root       bin             96 Jul 15 22:07 newconfig&lt;BR /&gt;&lt;BR /&gt;with test.zip.Z file&lt;BR /&gt;-rw-rw-rw-   1 root       sys              9 Jul 15 22:07 test.zip.Z&lt;BR /&gt;&lt;BR /&gt;Now check the find command,&lt;BR /&gt;&lt;BR /&gt;root&amp;gt; find /opt/hpwebadmin/newconfig/ -name *.zip.Z -exec ll {} \;&lt;BR /&gt;-rw-rw-rw-   1 root       sys              9 Jul 15 22:07 /opt/hpwebadmin/newconfig/test.zip.Z&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Standard user&amp;gt; find /opt/hpwebadmin/newconfig/ -name *.zip.Z -exec ll {} \;&lt;BR /&gt;find: cannot open /opt/hpwebadmin/newconfig&lt;BR /&gt;&lt;BR /&gt; So *.zip.Z without "&lt;BR /&gt;&lt;BR /&gt; Move the test.zip.Z to /tmp (drwxrwxrwt permission) then search it as,&lt;BR /&gt;&lt;BR /&gt; user&amp;gt; find /tmp -name *.zip.Z -exec ll {} \;&lt;BR /&gt; -rw-rw-rw-   1 root       sys              9 Jul 15 22:07 /tmp/test.zip.Z&lt;BR /&gt;&lt;BR /&gt; Generally, some directories are not having permission to allow the standard users for searching.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2004 11:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-command-strangeness/m-p/3332692#M189385</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-07-15T11:48:05Z</dc:date>
    </item>
  </channel>
</rss>

