excutable from menu line

Bill Campbell bill at celestial.com
Sun Jun 9 21:26:42 PDT 2013


On Sun, Jun 09, 2013, Dennis Malen wrote:
>I can use the following executable file from the system prompt on my aix
>unix system:
>
> 
>
>$ cat trakcombine             
>
>cat trakfhd.wp > trakfile     
>
>cat trakrhdpay.wp >> trakfile 
>
>cat traksubpay.wp >> trakfile 
>
>cat trakrhdcst.wp >> trakfile 
>
>cat traksubcst.wp >> trakfile
>
> 
>
>I execute the file this way:
>
>$ trakcombine

That shouldn't work with a sane PATH which doesn't include the
current directory (e.g. has :.: or ends with :).  With a proper
path, this would work using './trakcombine'.
>
>It works fine from the system prompt.
>
>The file resides in /tmp and when I use the following on a menu line it does
>not work execute:

Is the /tmp directory a mounted file system with noexec specified?

Does the file start with '#!/bin/sh' or some such?

Bill
-- 
INTERNET:   bill at celestial.com  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:          (206) 236-1676  Mercer Island, WA 98040-0820
Fax:            (206) 232-9186  Skype: jwccsllc (206) 855-5792

"If taxation without consent is robbery, the United States government
has never had, has not now, and is never likely to have, a single honest
dollar in its treasury." -- Lysander Spooner, Letter to Grover Cleveland 1886


More information about the Filepro-list mailing list