Bash appears to have changed...

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Mon Jan 13 03:23:00 GMT 2003


At 09:40 PM 1/8/2003, Andrew Mayer wrote:
>Hi Folks,
>
>I'm not a daily user, but all of this worked a few months ago. I haven't made
>any changes to any of my dotfiles in that time.  However, I just updated all of
>Cygwin this weekend and now things aren't so smooth.
>
>I enclose an brief annotated rxvt session. Can anyone replicate or decipher
>this.  Are these Cygwin bugs or are they local to my 2-3 dotfiles.

<snip>

>LEVERAGE 10$ man bash                                    /* hmmm, this could be
>more useful */
>/usr/bin/tbl: not found
>/bin/cat: not found
>/usr/bin/nroff: not found                                          
>LEVERAGE 11$ 
>LEVERAGE 11$ ls -l /usr/bin/tbl /bin/cat /usr/bin/nroff            /*
>but..but...there they are */
>-rw-rw-r--+   1 Administ Administ    17408 Feb 19  2002 /bin/cat
>-rw-rw-r--+   1 Administ Administ     1955 Dec 16 10:03 /usr/bin/nroff
>-rw-rw-r--+   1 Administ Administ   143360 Dec 16 10:03 /usr/bin/tbl


You should always *attach* the output of cygcheck -s -r -v when sending
this kind of report to the list.  It contains very useful information that
can help other diagnose your problems.  From your description, I'm going to
guess that you run Cygwin on an NT/W2K/XP machine and that your last 
installation ran a version of the Cygwin DLL pre-1.3.13 without 'ntsec' set
in your CYGWIN environment variable.  If that's true, that can explain
what you're seeing.  Since then, 'ntsec' has become the default.  This 
affects your permissions, as you can see since your binaries are no longer
executable.  Just go around and make a quick change to add the executable 
permissions back where you want them and you'll be back in business.  
Check out the email archives for more discussions about the change of 
the 'ntsec' default if you're interested in details.  Or, if you're a 
stuck-in-the-mud you can put 'nontsec' in your CYGWIN environment variable
and restart Cygwin to go back to the way things were for you. :-)  I 
wouldn't recommend that though.

  
Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list