<?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: Ksh:cannot execute in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950988#M290239</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Pelase make sure you have neccesary privilage to run commands. Check for the permission of : /usr/bin/more for an excecute permission.&lt;BR /&gt;&lt;BR /&gt;this holds good for the cat also. You may not have permission to read the file : sulogin&lt;BR /&gt;&lt;BR /&gt;Do a ls -l sulogin  and see if you have read permission.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Frijo</description>
    <pubDate>Mon, 26 Feb 2007 01:39:36 GMT</pubDate>
    <dc:creator>Frijo Franco</dc:creator>
    <dc:date>2007-02-26T01:39:36Z</dc:date>
    <item>
      <title>Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950987#M290238</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When i want to see any file and do&lt;BR /&gt;&lt;BR /&gt;more ip.txt&lt;BR /&gt;more: cannot execute&lt;BR /&gt;&lt;BR /&gt;cat sulogin&lt;BR /&gt;cat: cannot open sulogin&lt;BR /&gt;&lt;BR /&gt;Why am i getting these errors?</description>
      <pubDate>Mon, 26 Feb 2007 01:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950987#M290238</guid>
      <dc:creator>pratham</dc:creator>
      <dc:date>2007-02-26T01:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950988#M290239</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Pelase make sure you have neccesary privilage to run commands. Check for the permission of : /usr/bin/more for an excecute permission.&lt;BR /&gt;&lt;BR /&gt;this holds good for the cat also. You may not have permission to read the file : sulogin&lt;BR /&gt;&lt;BR /&gt;Do a ls -l sulogin  and see if you have read permission.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Frijo</description>
      <pubDate>Mon, 26 Feb 2007 01:39:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950988#M290239</guid>
      <dc:creator>Frijo Franco</dc:creator>
      <dc:date>2007-02-26T01:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950989#M290240</link>
      <description>Hi,&lt;BR /&gt;Please read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;You have not updated any of your earlier threads or rewarded the answers.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"cannot execute"&lt;BR /&gt;Check execute permissions with:&lt;BR /&gt;ll `which more`&lt;BR /&gt;should be close to:&lt;BR /&gt;-r-xr-xr-x   2 bin        bin          73728 Jul 16  2002 /usr/bin/more&lt;BR /&gt;&lt;BR /&gt;"cannot open sulogin"&lt;BR /&gt;Check read permission on sulogin with:&lt;BR /&gt;ll sulog&lt;BR /&gt;Although I thought the error message would have been:&lt;BR /&gt;cat: Cannot open sulogin: Permission denied&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 06:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950989#M290240</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-26T06:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950990#M290241</link>
      <description>Hi Pratham,&lt;BR /&gt;Ksh:cannot excecute --&amp;gt; This error means that you are in K shell &amp;amp; its not able to execute your command on paticular file.&lt;BR /&gt;  Normally,this question arise due to access problem. May be you have not set proper permissions on that file.Access to files is dependent on a userâ  s identification and the permissions associated with a file. Every file is owned by a user on the system. The owner of a file has the ultimate control over who has access to it. The owner has the power to allow or deny other users access to files that he or she owns.So,if you have ownership you can change the permissions.&lt;BR /&gt;Refer following command:&lt;BR /&gt;To see permissions on that file,use ll command,to change use chmod command.Below example will clear your doubt.&lt;BR /&gt;$ ls -l f1&lt;BR /&gt;-rw-r--r-- 1 user3 class 37 Jul 24 11:06 f1&lt;BR /&gt;$ chmod g=rw,o= f1&lt;BR /&gt;$ ls -l f1&lt;BR /&gt;-rw-rw---- 1 user3 class 37 Jul 24 11:06 f1&lt;BR /&gt;$ ls -l f2&lt;BR /&gt;-rw-rw-rw- 1 user3 class 37 Jul 24 11:08 f2&lt;BR /&gt;$ chmod u+x,g=rx,o-rw f2&lt;BR /&gt;$ ls -l f2&lt;BR /&gt;-rwxr-x--- 1 user3 class 37 Jul 24 11:08 f2&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Reshma&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:06:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950990#M290241</guid>
      <dc:creator>Reshma Malusare</dc:creator>
      <dc:date>2007-02-26T09:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950991#M290242</link>
      <description>&lt;!--!*#--&gt;The subject says: Ksh:cannot execute&lt;BR /&gt;But your output doesn't.  Did you not cut and paste everything?&lt;BR /&gt;&lt;BR /&gt;You may want to try:&lt;BR /&gt;   whence more&lt;BR /&gt;to see which more is trying to be executed.&lt;BR /&gt;If you have "more" as a directory in your path you would get this error.  Or if you were trying to execute an IPF executable on PA.</description>
      <pubDate>Tue, 27 Feb 2007 05:33:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950991#M290242</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-27T05:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ksh:cannot execute</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950992#M290243</link>
      <description>Pratham,&lt;BR /&gt;could you please update this thread.&lt;BR /&gt;&lt;BR /&gt;Is the problem still happening ?&lt;BR /&gt;&lt;BR /&gt;What was the result of using the suggested fixes ?&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.&lt;BR /&gt;&lt;BR /&gt;So far you have not awarded any points !</description>
      <pubDate>Thu, 01 Mar 2007 04:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ksh-cannot-execute/m-p/3950992#M290243</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-01T04:05:02Z</dc:date>
    </item>
  </channel>
</rss>

