public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: chmod/chown + ntsec doesn't work (Solution?)
@ 2001-10-30 11:41 Jean-Marc Eurin
  2001-10-31  9:19 ` export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work) Jean-Marc Eurin
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Marc Eurin @ 2001-10-30 11:41 UTC (permalink / raw)
  To: cygwin

Hi,

Here is a possible solution. When I start bash through
the shortcut, the CYGWIN variable is not exported from
W2K to bash:

From cmd.exe:
C:\>echo %CYGWIN%
export ntsec ntea

C:\>\cygwin\cygwin.bat
je734613:jme> echo $CYGWIN

je734613:jme>

In that case, the chmod & chown do not work.

If I set CYGWIN explicitely in bash as:
export CYGWIN="ntsec ntea export"
then chmod & chown work!

My 2 cents,

Jean-Marc


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work)
  2001-10-30 11:41 chmod/chown + ntsec doesn't work (Solution?) Jean-Marc Eurin
@ 2001-10-31  9:19 ` Jean-Marc Eurin
  2001-10-31  9:29   ` Pavel Tsekov
  2001-10-31  9:39   ` Peter Buckley
  0 siblings, 2 replies; 5+ messages in thread
From: Jean-Marc Eurin @ 2001-10-31  9:19 UTC (permalink / raw)
  To: cygwin

Hi,

I think I actually found the root cause of my various
problems: setting the 'export' flag in the CYGWIN
variable on W2K (i.e. with ntsec) seems a very bad
idea.

I removed it (now CYGWIN=ntsec), rebooted, and now:
- chown & chmod work. 
- gdb does not crash (see message on 10/26/01)
- I can run services with cygrunsrv. The symptom here
was that when starting the service (--start), Windows
would complain that it could not find cygwin1.dll in
the PATH.

Hopefully this will solve some of the issues seen in
this list :-)

Jean-Marc

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work)
  2001-10-31  9:19 ` export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work) Jean-Marc Eurin
@ 2001-10-31  9:29   ` Pavel Tsekov
  2001-10-31  9:39   ` Peter Buckley
  1 sibling, 0 replies; 5+ messages in thread
From: Pavel Tsekov @ 2001-10-31  9:29 UTC (permalink / raw)
  To: Jean-Marc Eurin; +Cc: cygwin

Hehe :)

Jean-Marc Eurin wrote:
> 
> Hi,
> 
> I think I actually found the root cause of my various
> problems: setting the 'export' flag in the CYGWIN
> variable on W2K (i.e. with ntsec) seems a very bad
> idea.
> 
> I removed it (now CYGWIN=ntsec), rebooted, and now:
> - chown & chmod work.
> - gdb does not crash (see message on 10/26/01)
> - I can run services with cygrunsrv. The symptom here
> was that when starting the service (--start), Windows
> would complain that it could not find cygwin1.dll in
> the PATH.
> 
> Hopefully this will solve some of the issues seen in
> this list :-)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work)
  2001-10-31  9:19 ` export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work) Jean-Marc Eurin
  2001-10-31  9:29   ` Pavel Tsekov
@ 2001-10-31  9:39   ` Peter Buckley
  2001-10-31 10:32     ` Jean-Marc Eurin
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Buckley @ 2001-10-31  9:39 UTC (permalink / raw)
  To: Jean-Marc Eurin; +Cc: cygwin

 From the inetutils-1.3.2.README-
   - The system environment variable PATH must contain the path
     to the directory which contains the cygwin1.dll.


HTH,
Peter

Jean-Marc Eurin wrote:

> Hi,
> 
> I think I actually found the root cause of my various
> problems: setting the 'export' flag in the CYGWIN
> variable on W2K (i.e. with ntsec) seems a very bad
> idea.
> 
> I removed it (now CYGWIN=ntsec), rebooted, and now:
> - chown & chmod work. 
> - gdb does not crash (see message on 10/26/01)
> - I can run services with cygrunsrv. The symptom here
> was that when starting the service (--start), Windows
> would complain that it could not find cygwin1.dll in
> the PATH.
> 
> Hopefully this will solve some of the issues seen in
> this list :-)
> 
> Jean-Marc
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.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/
> 
> 


-- 
-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]

--


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work)
  2001-10-31  9:39   ` Peter Buckley
@ 2001-10-31 10:32     ` Jean-Marc Eurin
  0 siblings, 0 replies; 5+ messages in thread
From: Jean-Marc Eurin @ 2001-10-31 10:32 UTC (permalink / raw)
  To: Peter Buckley; +Cc: cygwin

Hi Peter,

My PATH (in W2K) does include c:\cygwin\bin. I could
start the service by hand in a windows command prompt.
But for some reason, when CYGWIN contains 'export'
this PATH is not exported to the service started by
cygrunsrv.

Jean-Marc

--- Peter Buckley <peter.buckley@cportcorp.com> wrote:
>  From the inetutils-1.3.2.README-
>    - The system environment variable PATH must
> contain the path
>      to the directory which contains the
> cygwin1.dll.
> 
> 
> HTH,
> Peter
> 
> Jean-Marc Eurin wrote:
> 
> > Hi,
> > 
> > I think I actually found the root cause of my
> various
> > problems: setting the 'export' flag in the CYGWIN
> > variable on W2K (i.e. with ntsec) seems a very bad
> > idea.
> > 
> > I removed it (now CYGWIN=ntsec), rebooted, and
> now:
> > - chown & chmod work. 
> > - gdb does not crash (see message on 10/26/01)
> > - I can run services with cygrunsrv. The symptom
> here
> > was that when starting the service (--start),
> Windows
> > would complain that it could not find cygwin1.dll
> in
> > the PATH.
> > 
> > Hopefully this will solve some of the issues seen
> in
> > this list :-)
> > 
> > Jean-Marc
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Make a great connection at Yahoo! Personals.
> > http://personals.yahoo.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/
> > 
> > 
> 
> 
> -- 
> -- 
> Your mouse has moved.
> Windows NT must be restarted for the change to take
> effect.
> Reboot now?  [OK]
> 
> --
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-10-31 10:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-30 11:41 chmod/chown + ntsec doesn't work (Solution?) Jean-Marc Eurin
2001-10-31  9:19 ` export vs ntsec (was chmod/chown/gdb/cygrunsrc does not work) Jean-Marc Eurin
2001-10-31  9:29   ` Pavel Tsekov
2001-10-31  9:39   ` Peter Buckley
2001-10-31 10:32     ` Jean-Marc Eurin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).