<?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: sh: find: Execute permission denied. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468159#M662471</link>
    <description>Patrick:&lt;BR /&gt;&lt;BR /&gt;# file /usr/bin/find&lt;BR /&gt;/usr/bin/find:  ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;Why/how it messed up?&lt;BR /&gt;&lt;BR /&gt;replacing it by the correct one will fix?</description>
    <pubDate>Tue, 28 Jul 2009 12:38:37 GMT</pubDate>
    <dc:creator>JUAN VIDAL_1</dc:creator>
    <dc:date>2009-07-28T12:38:37Z</dc:date>
    <item>
      <title>sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468151#M662463</link>
      <description>PLATFORM DESCRIPTION:&lt;BR /&gt;---------------------&lt;BR /&gt;HP-UX B.11.11 U 9000/800 RP3410&lt;BR /&gt;&lt;BR /&gt;PROBLEM DESCRIPTION:&lt;BR /&gt;--------------------&lt;BR /&gt;as root:&lt;BR /&gt;&lt;BR /&gt;# find hosts&lt;BR /&gt;sh: find: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/find&lt;BR /&gt;-rwxr-xr-x 1 bin bin 103836 Jul 16 17:42 /usr/bin/find&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468151#M662463</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468152#M662464</link>
      <description>&amp;gt;&amp;gt;# find hosts&lt;BR /&gt;&lt;BR /&gt;Do a 'whence -v find' to make sure the 'find' command that should be running is the one that is actually running.</description>
      <pubDate>Tue, 28 Jul 2009 12:28:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468152#M662464</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-28T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468153#M662465</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;# whence -v find&lt;BR /&gt;find is /usr/bin/find</description>
      <pubDate>Tue, 28 Jul 2009 12:28:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468153#M662465</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T12:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468154#M662466</link>
      <description>did you try calling the find using the absolute path name ? as in:&lt;BR /&gt;&lt;BR /&gt;/usr/bin/find ./ -name hosts&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:31:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468154#M662466</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-28T12:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468155#M662467</link>
      <description>Hi Mel,&lt;BR /&gt;&lt;BR /&gt;# /usr/bin/find ./ -name hosts&lt;BR /&gt;sh: /usr/bin/find: Execute permission denied.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468155#M662467</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T12:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468156#M662468</link>
      <description>what does these command say ? please port the outputs:&lt;BR /&gt;&lt;BR /&gt;what /usr/bin/find&lt;BR /&gt;file /usr/bin/find&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:35:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468156#M662468</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-28T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468157#M662469</link>
      <description>The size of your 'find' executable does not seem correct.  Here it is from one of my 11.11 servers:&lt;BR /&gt;&lt;BR /&gt;HP-UX 11.11:&lt;BR /&gt; # ll /usr/bin/find&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          61440 Jul 30  2007 /usr/bin/find*&lt;BR /&gt;&lt;BR /&gt;Also do a 'file /usr/bin/find'.  The result should be:&lt;BR /&gt;&lt;BR /&gt; $ file /usr/bin/find&lt;BR /&gt;/usr/bin/find:  PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;If it is not, then your find executable is messed up.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:36:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468157#M662469</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-28T12:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468158#M662470</link>
      <description>Mel:&lt;BR /&gt;# what /usr/bin/find&lt;BR /&gt;/usr/bin/find:&lt;BR /&gt;nr81pl2,sys,root # file /usr/bin/find&lt;BR /&gt;/usr/bin/find:  ELF-32 executable object file&lt;BR /&gt;nr81pl2,sys,root # &lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jul 2009 12:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468158#M662470</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T12:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468159#M662471</link>
      <description>Patrick:&lt;BR /&gt;&lt;BR /&gt;# file /usr/bin/find&lt;BR /&gt;/usr/bin/find:  ELF-32 executable object file&lt;BR /&gt;&lt;BR /&gt;Why/how it messed up?&lt;BR /&gt;&lt;BR /&gt;replacing it by the correct one will fix?</description>
      <pubDate>Tue, 28 Jul 2009 12:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468159#M662471</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T12:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468160#M662472</link>
      <description>Also note the date on your '/usr/bin/find' of Jul 16 17:42.  Something was done to it on July 16 at 17:42 (5:42 PM).&lt;BR /&gt;&lt;BR /&gt;To see if it truly is 'find' do:&lt;BR /&gt;&lt;BR /&gt; $ what /usr/bin/find               &lt;BR /&gt;/usr/bin/find:&lt;BR /&gt;find.c $Date: 2005/12/21 22:37:15 $Revision: r11.11/7 PATCH_11.11 (PHCO_34241)&lt;BR /&gt;funcs.c $Date: 2002/02/09 04:05:22 $Revision: r11.11/2 PATCH_11.11 (PHCO_25905)&lt;BR /&gt;aclv_patt.c $Date: 2004/11/22 10:47:21 $Revision: r11.11/1 PATCH_11.11 (PHCO_30746)&lt;BR /&gt;libcpio.c $Date: 2007/06/27 12:29:49 $Revision: r11.11/2 PATCH_11.11 (PHCO_36502)&lt;BR /&gt;getpwd.c $Date: 2004/11/22 10:47:21 $Revision: r11.11/3 PATCH_11.11 (PHCO_30746)&lt;BR /&gt;$Revision: @(#) find  R11.11_BL2007_0730_1 PATCH_11.11 PHCO_36502&lt;BR /&gt;&lt;BR /&gt;If you don't get output similar to the above, then your find is not really find.</description>
      <pubDate>Tue, 28 Jul 2009 12:39:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468160#M662472</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-28T12:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468161#M662473</link>
      <description>if you have a system similar to this one, with OS version hpux 11.11, you try copying the executable from that system to this one, after making sure you get the output Patrick gave, is what you see on the non-corrupted server. More than likely, it will work.&lt;BR /&gt;&lt;BR /&gt;When it comes to how and why it happened: your guess is as good as mine. Someone might have copied some other executable file over find accidentally or maliciously. I'd keep a copy of corrupt file and run it under tusc to see what it actually is doing. The message you are seeing might be given by the executable, not the shell, to mislead you if it was put there with a malicious intent.</description>
      <pubDate>Tue, 28 Jul 2009 12:46:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468161#M662473</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-28T12:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468162#M662474</link>
      <description>If you have a backup, which I'm sure you do, then you could also try restoring the file from some date prior to July 16, 2009 at 17:42.</description>
      <pubDate>Tue, 28 Jul 2009 12:52:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468162#M662474</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-28T12:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468163#M662475</link>
      <description>ACTIONS TAKEN:&lt;BR /&gt;--------------&lt;BR /&gt;&lt;BR /&gt;1) Checked "find" status on other PA-RISC server:&lt;BR /&gt;# file find&lt;BR /&gt;find:           PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;# what /usr/bin/find &lt;BR /&gt;/usr/bin/find:&lt;BR /&gt;         find.c $Date: 2002/02/05 22:05:26 $Revision: r11.11/2 PATCH_11.11 (PHCO_25905)&lt;BR /&gt;         funcs.c $Date: 2002/02/09 04:05:22 $Revision: r11.11/2 PATCH_11.11 (PHCO_25905)&lt;BR /&gt;         $Revision: @(#) find CUP11.11_BL2002_0213_2 PATCH_11.11 PHCO_25905&lt;BR /&gt;         Wed Feb 13 07:05:23 PST 2002 $&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2) Copied file onto affected server.&lt;BR /&gt;3) Checked "find" file permissions/owner/group (555/bin/bin)&lt;BR /&gt;4) find works properly.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PROBLEM ROOT CAUSE:&lt;BR /&gt;-------------------&lt;BR /&gt;&lt;BR /&gt;Aparently someone installed some Itanium Patch...</description>
      <pubDate>Tue, 28 Jul 2009 13:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468163#M662475</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T13:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468164#M662476</link>
      <description>&amp;gt;&amp;gt;Aparently someone installed some Itanium Patch...&lt;BR /&gt;&lt;BR /&gt;That should not be possible on this server.  There was never an 11.11 version for Itanium servers and the patch should not have allowed itself to be installed.&lt;BR /&gt;&lt;BR /&gt;What did the 'what /usr/bin/find' on the "bad" find return?</description>
      <pubDate>Tue, 28 Jul 2009 13:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468164#M662476</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-07-28T13:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468165#M662477</link>
      <description>&amp;gt;&amp;gt; What did the 'what /usr/bin/find' on the "bad" find return?&lt;BR /&gt;&lt;BR /&gt;# what /usr/bin/find&lt;BR /&gt;/usr/bin/find:&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;no output. I checked into an Itanium box and I saw the same output for find: ELF-32...that's why I guessed someone by mistake installed a wrong patch...</description>
      <pubDate>Tue, 28 Jul 2009 13:25:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468165#M662477</guid>
      <dc:creator>JUAN VIDAL_1</dc:creator>
      <dc:date>2009-07-28T13:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: sh: find: Execute permission denied.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468166#M662478</link>
      <description>&amp;gt;that's why I guessed someone by mistake installed a wrong patch&lt;BR /&gt;&lt;BR /&gt;Typically if you installed a patch, the date on find would be before the patch was created, not some recent date like Jul 16.&lt;BR /&gt;&lt;BR /&gt;Some sysadmin must have manually copied that file there.</description>
      <pubDate>Tue, 28 Jul 2009 15:52:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sh-find-execute-permission-denied/m-p/4468166#M662478</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-07-28T15:52:49Z</dc:date>
    </item>
  </channel>
</rss>

