[Xastir] NWS get problem

Tom Russo russo at bogodyn.org
Mon Nov 26 20:25:24 EST 2012


On Mon, Nov 26, 2012 at 05:27:16PM -0600, we recorded a bogon-computron collision of the <jjolin at itol.com> flavor, containing:
> On 11/26/2012 01:31 PM, Tom Russo wrote:
> > On Mon, Nov 26, 2012 at 11:33:05AM -0600, we recorded a bogon-computron collision of the <jjolin at itol.com> flavor, containing:
> >> On 11/25/2012 8:49 PM, Tom Russo wrote:
> >>> On Sun, Nov 25, 2012 at 07:52:05PM -0600, we recorded a bogon-computron collision of the <jjolin at itol.com> flavor, containing:
> >>>> When it rains......Here is the latest:
> >>>> jjolin at jjolin-Inspiron-8200 ~ $ sudo
> >>>> /usr/local/share/xastir/scripts/get-NWSdatasudo:
> >>>> /usr/local/share/xastir/scripts/get-NWSdata: command not found
> >>>> jjolin at jjolin-Inspiron-8200 ~ $ I have tired even with the script from
> >>>> the readme startup file.
> >>>> This is getting exasperating.
> >>> Does /usr/local/share/xastir/scripts/get-NWSdata actually exist?
> >>>
> >>> Did you install Xastir from source or from a binary package for your system?
> >>>
> >> Tom and Curt.
> >> To answer you both.  Yes NWSdata does exist....I see it when I run ls.
> >> I always install xastir from source so that's out.  And I do have wget
> >> installed.
> > Please try this:
> >
> > sudo sh -x /usr/local/share/xastir/scripts/get-NWSdata
> >
> > This will tell the shell to spit out a line for each line of the script it
> > executes, and should pin down what command it's not finding.
> >
[...]
> >
> Well Tom and Curt this whole thing is weird.  Here is what I got from 
> your suggestion Tom and Curt:
> jolin at jjolin-Inspiron-8200 ~ $ sudo sh -x 
> /usr/local/share/xastir/scripts/get-NWSdata
[what looks like completely normal operation of the script]

This really points to the file not having execute permission.  If the file is 
not set to have execute permission, sudo would say "command not found".  The
command line I gave you explicitly ran the script with "sh" rather than
relying on execute permissions, so that would explain how it works and the
other doesn't.

You did check execution permissions on that script, right?  I never saw you
respond to that question.  What exactly does 
"ls -l /usr/local/share/xastir/scripts/get-NWSdata" say?

And now that I look on *MY* system, NONE of the scripts in 
/usr/local/share/xastir/scripts have the execute permission set.
Did our install process *ever* set execute permission on these scripts before?
I can't think of anything that has changed recently to undo that.

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]

 





More information about the Xastir mailing list