problem with inheriting environment

Christopher Faylor cgf@redhat.com
Sun Jun 30 16:59:00 GMT 2002


On Sun, Jun 30, 2002 at 05:21:35PM +0100, Chris January wrote:
>The settings in the CYGWIN environment variable don't seem to be
>inherited by child processes with latest CVS.

This isn't enough information for me to go on.  You don't see
"CYGWIN=whatever" in your child processes?  You say CYGWIN=tty and the
CYGWIN environment variable says "tty" but you don't have a tty?  You
say "CYGWIN=ntsec" but the enhanced permissions are not there?

FWIW:

    j:\>set CYGWIN=ntsec tty
    j:\>bash
    bash-2.05a$ bash
    bash-2.05a$ echo $CYGWIN
    ntsec tty
    bash-2.05a$ touch foo
    bash-2.05a$ ls -l foo
    -rw-rw-rw-    1 cgf      None            0 Jun 30 13:00 foo
    bash-2.05a$ chmod a+x foo
    bash-2.05a$ ls -l foo
    -rwxrwxrwx    1 cgf      None            0 Jun 30 13:00 foo
    bash-2.05a$ tty
    /dev/tty0

cgf
--
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

--
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