<?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: paths and permissions in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307006#M184776</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would first check the PATH before running the command.&lt;BR /&gt;&lt;BR /&gt;$echo $PATH&lt;BR /&gt;&lt;BR /&gt;Make sure the directory appears in path. Then ensure they could be able to actually do a listing of it&lt;BR /&gt;&lt;BR /&gt;$ll /usr/custom/bin/command&lt;BR /&gt;&lt;BR /&gt;I called it as /usr/custom/bin.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 16 Jun 2004 10:45:52 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-06-16T10:45:52Z</dc:date>
    <item>
      <title>paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307004#M184774</link>
      <description>I am moving an application to a new server. We had a bunch of shell scripts that were in the /usr/bin directory. I would like to keep all of these is a custom directory so that when I'm moving stuff to another server I don't have to go looking for them. I have this new directory in my users path and they have full rights to use it. Yet, when I try to run this program it can't find it. Any ideas?</description>
      <pubDate>Wed, 16 Jun 2004 10:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307004#M184774</guid>
      <dc:creator>Angela Swyers_1</dc:creator>
      <dc:date>2004-06-16T10:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307005#M184775</link>
      <description>We use /usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;You will need to add that to user path in .profile or /etc/profile&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 16 Jun 2004 10:43:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307005#M184775</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-06-16T10:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307006#M184776</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would first check the PATH before running the command.&lt;BR /&gt;&lt;BR /&gt;$echo $PATH&lt;BR /&gt;&lt;BR /&gt;Make sure the directory appears in path. Then ensure they could be able to actually do a listing of it&lt;BR /&gt;&lt;BR /&gt;$ll /usr/custom/bin/command&lt;BR /&gt;&lt;BR /&gt;I called it as /usr/custom/bin.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 16 Jun 2004 10:45:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307006#M184776</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-16T10:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307007#M184777</link>
      <description>Try running whence or which against your script to see if it's finding the script.&lt;BR /&gt;&lt;BR /&gt;eg: # whence myscript.sh&lt;BR /&gt;&lt;BR /&gt;If it doens't find it there may be issues with the $PATH variable.</description>
      <pubDate>Wed, 16 Jun 2004 10:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307007#M184777</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-06-16T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307008#M184778</link>
      <description>whence finds it but whereis doesn't?</description>
      <pubDate>Wed, 16 Jun 2004 10:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307008#M184778</guid>
      <dc:creator>Angela Swyers_1</dc:creator>
      <dc:date>2004-06-16T10:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307009#M184779</link>
      <description>What error do you get when you try to run these scripts?  Are the permissions on the scripts themselves correct?</description>
      <pubDate>Wed, 16 Jun 2004 11:27:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307009#M184779</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-06-16T11:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307010#M184780</link>
      <description>Angela,&lt;BR /&gt;&lt;BR /&gt;- login as the user&lt;BR /&gt;A start the program by typing its full name (with leading /)&lt;BR /&gt;B start the program by typing just its name&lt;BR /&gt;&lt;BR /&gt;A: should work.&lt;BR /&gt;B: What is the error message?&lt;BR /&gt;&lt;BR /&gt;Do an 'echo $PATH' and check that you didn't make a typo (colon / semicolon).&lt;BR /&gt;&lt;BR /&gt;If you want the directory in $PATH for all users, you can add it to the file /etc/PATH.&lt;BR /&gt;&lt;BR /&gt;Do the old server and new server have the same OS? If not, is the first line of the scripts pointing to a correct shell?&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Wed, 16 Jun 2004 11:28:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307010#M184780</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-06-16T11:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307011#M184781</link>
      <description>How about the permission of the new directory itself ? &lt;BR /&gt;Is it 755 or not ?&lt;BR /&gt;&lt;BR /&gt;If not change it to 755 and see if the program runs or not with the script anme.</description>
      <pubDate>Wed, 16 Jun 2004 11:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307011#M184781</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-06-16T11:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307012#M184782</link>
      <description>It is 755. If I make a logical link to /usr/bin it seems to work just fine. This script is called from another so there must be something that is replacing the PATH in some way.</description>
      <pubDate>Wed, 16 Jun 2004 11:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307012#M184782</guid>
      <dc:creator>Angela Swyers_1</dc:creator>
      <dc:date>2004-06-16T11:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307013#M184783</link>
      <description>Angela,&lt;BR /&gt;you must check the calling script. Maybe the PATH is changed within the calling script, or the script is called with its full name?&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Wed, 16 Jun 2004 11:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307013#M184783</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-06-16T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: paths and permissions</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307014#M184784</link>
      <description>Well, if the script is called from some other script, you may want to make sure that those scripts don't modify your PATH. &lt;BR /&gt;Insert a echo $PATH command just in front of the script name in the other script and see what it tells you.&lt;BR /&gt;&lt;BR /&gt;Just as a side note, if the script is called by another script or via cron, you must set the PATH separately or add it to the existing PATH variable.&lt;BR /&gt;&lt;BR /&gt;export PATH=${PATH}:/your/newdir&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Abdul.</description>
      <pubDate>Wed, 16 Jun 2004 11:40:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/paths-and-permissions/m-p/3307014#M184784</guid>
      <dc:creator>Abdul Rahiman</dc:creator>
      <dc:date>2004-06-16T11:40:16Z</dc:date>
    </item>
  </channel>
</rss>

