<?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: cannot open in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697407#M248665</link>
    <description>Does the NFS mounts have "root" specified in /etc/exports?&lt;BR /&gt; &lt;BR /&gt;Rod Hills</description>
    <pubDate>Fri, 23 Dec 2005 13:42:47 GMT</pubDate>
    <dc:creator>Rodney Hills</dc:creator>
    <dc:date>2005-12-23T13:42:47Z</dc:date>
    <item>
      <title>find: cannot open</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697406#M248664</link>
      <description>I changed my daily backups from a remote tape drive to a local tape drive. All the directories are NFS mounted and the script is a find piped to cpio. If I login as root and run the find command, I get a cannot open on some directories. So, my question is: will running the script as cron still not visit those directories?</description>
      <pubDate>Fri, 23 Dec 2005 13:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697406#M248664</guid>
      <dc:creator>Bruce Baillie</dc:creator>
      <dc:date>2005-12-23T13:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: find: cannot open</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697407#M248665</link>
      <description>Does the NFS mounts have "root" specified in /etc/exports?&lt;BR /&gt; &lt;BR /&gt;Rod Hills</description>
      <pubDate>Fri, 23 Dec 2005 13:42:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697407#M248665</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-12-23T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: find: cannot open</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697408#M248666</link>
      <description>Yes , you can expect the same behaviour when run as root's cronjob.&lt;BR /&gt;&lt;BR /&gt;Find out root cause for not opening directories , might me definetly permission problem.&lt;BR /&gt;&lt;BR /&gt;or can make use of a remote tape drive by &lt;BR /&gt;&lt;BR /&gt;tar cvf - * | remsh remote_host  dd of=/dev/rmt/0m&lt;BR /&gt;&lt;BR /&gt;thx.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Dec 2005 13:43:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697408#M248666</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2005-12-23T13:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: find: cannot open</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697409#M248667</link>
      <description>Hi Bruce:&lt;BR /&gt;&lt;BR /&gt;The basic thing that seems to get forgotten when 'cron'ing an otherwise working script, is that 'cron's environment is very sparse.&lt;BR /&gt;&lt;BR /&gt;In particular, the PATH is set thusly:&lt;BR /&gt;&lt;BR /&gt;PATH=/usr/bin:/usr/sbin:.&lt;BR /&gt;&lt;BR /&gt;That is, anything that you normally find having logged in and had '/etc/profile' and/or your $HOME/.profile read isn't there!&lt;BR /&gt;&lt;BR /&gt;You need to supply an appropriate PATH for your script and/or any other variables you want defined in your environment.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 23 Dec 2005 13:46:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697409#M248667</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-23T13:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: find: cannot open</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697410#M248668</link>
      <description>OK, thanks. It's working now.</description>
      <pubDate>Fri, 23 Dec 2005 13:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/find-cannot-open/m-p/3697410#M248668</guid>
      <dc:creator>Bruce Baillie</dc:creator>
      <dc:date>2005-12-23T13:58:17Z</dc:date>
    </item>
  </channel>
</rss>

