<?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: Unable to execute files in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942779#M4091</link>
    <description>When using ./script to execute it, I get the same error. Its definately not a path problem&lt;BR /&gt;&lt;BR /&gt;/bin/bash script   OR&lt;BR /&gt;/bin/bash /home/user/script &lt;BR /&gt;will work.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 03 Apr 2003 10:15:56 GMT</pubDate>
    <dc:creator>Admin32</dc:creator>
    <dc:date>2003-04-03T10:15:56Z</dc:date>
    <item>
      <title>Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942773#M4085</link>
      <description>Greetings all,&lt;BR /&gt;&lt;BR /&gt;I've got a problem with one Linux Redhat 7 workstation here on our network.&lt;BR /&gt;&lt;BR /&gt;It seems like we are unable to execute any new file placed into the system no matter what user you are logged in as.&lt;BR /&gt;&lt;BR /&gt;For example, I logged in as root in order to install open office and even thought the "install" file is properly flagged as an executable, when running it I get a "permission denided". &lt;BR /&gt;&lt;BR /&gt;The same problem exists when trying to run any other new file I copy to this system.&lt;BR /&gt;&lt;BR /&gt;I'm suspecting the problem has got something to do with the system's shell environment. I tried bash and tcsh and the results were the same.&lt;BR /&gt;&lt;BR /&gt;Any ideas ?&lt;BR /&gt;&lt;BR /&gt;Thanks. &lt;BR /&gt;&lt;BR /&gt;Chris Partsenidis.</description>
      <pubDate>Thu, 03 Apr 2003 08:10:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942773#M4085</guid>
      <dc:creator>Admin32</dc:creator>
      <dc:date>2003-04-03T08:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942774#M4086</link>
      <description>hi chris,&lt;BR /&gt;&lt;BR /&gt;can u just write a single script and see if you are able to execute it. &lt;BR /&gt;&lt;BR /&gt;also are there read+ execute permission for the entire directory tree and the file. &lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 03 Apr 2003 08:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942774#M4086</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-03T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942775#M4087</link>
      <description>Balaji,&lt;BR /&gt;&lt;BR /&gt;I've checked the directory permissions and they are fine, I've even tried chmod 777 but still the same result.&lt;BR /&gt;&lt;BR /&gt;Simple scripts will not execute, same problem arises.&lt;BR /&gt;&lt;BR /&gt;Cheers,</description>
      <pubDate>Thu, 03 Apr 2003 09:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942775#M4087</guid>
      <dc:creator>Admin32</dc:creator>
      <dc:date>2003-04-03T09:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942776#M4088</link>
      <description>hi can u pls try this and tell what is the error.&lt;BR /&gt;&lt;BR /&gt;++++++++++&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;echo abcd&lt;BR /&gt;++++++++++&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;also, see if there is /bin/bash available, and also, try executing the script like /bin/bash &lt;FILENAME&gt;&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji&lt;BR /&gt;&lt;/FILENAME&gt;</description>
      <pubDate>Thu, 03 Apr 2003 09:39:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942776#M4088</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-03T09:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942777#M4089</link>
      <description>Okies,&lt;BR /&gt;&lt;BR /&gt;Executing the script from its directory gave me the same error, while /bin/bash 'script'&lt;BR /&gt;&lt;BR /&gt;resulted in the proper execution of the script ! &lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2003 10:07:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942777#M4089</guid>
      <dc:creator>Admin32</dc:creator>
      <dc:date>2003-04-03T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942778#M4090</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;how are you executing the script. &lt;BR /&gt;&lt;BR /&gt;script&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;./script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;try the second one. i guess your current directory is not in the path (it should not be for security). &lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 03 Apr 2003 10:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942778#M4090</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-03T10:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942779#M4091</link>
      <description>When using ./script to execute it, I get the same error. Its definately not a path problem&lt;BR /&gt;&lt;BR /&gt;/bin/bash script   OR&lt;BR /&gt;/bin/bash /home/user/script &lt;BR /&gt;will work.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Apr 2003 10:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942779#M4091</guid>
      <dc:creator>Admin32</dc:creator>
      <dc:date>2003-04-03T10:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942780#M4092</link>
      <description>hi&lt;BR /&gt;tried out what u say. i am unable to reproduce.&lt;BR /&gt;&lt;BR /&gt;./script gives permission denied only when it doesnt have execute permission.&lt;BR /&gt;&lt;BR /&gt;i hope u have checked that already. can u try some other shell , say /bin/sh or /bin/ksh.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;-balaji</description>
      <pubDate>Thu, 03 Apr 2003 10:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942780#M4092</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-04-03T10:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute files</title>
      <link>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942781#M4093</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The problem is that /bin directory is not added to your PATH variable.&lt;BR /&gt;&lt;BR /&gt;#echo $PATH&lt;BR /&gt;&lt;BR /&gt;look for /bin . if it is not there then run this command.&lt;BR /&gt;&lt;BR /&gt;#export $PATH=$PATH:/bin&lt;BR /&gt;&lt;BR /&gt;Edit .bash_profile and add /bin to the PATH variable declaration.&lt;BR /&gt;&lt;BR /&gt;Try executing scripts now.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Fri, 04 Apr 2003 04:26:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/unable-to-execute-files/m-p/2942781#M4093</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2003-04-04T04:26:15Z</dc:date>
    </item>
  </channel>
</rss>

