RE: tty initialization failure under cygwin 1.7.2?

2010-04-26 Thread Egerton, Jim
Thanks Corinna. I assume this requires a new cygwin dll? Do you have any idea when this will go into a versioned release? Appreciate the help, jim > -Original Message- > From: Corinna Vinschen [mailto:corinna-cyg...@cygwin.com] > Sent: Monday, April 26, 2010 5:39 AM > To: cygwin@cygw

Re: tty initialization failure under cygwin 1.7.2?

2010-04-23 Thread Egerton, Jim
I ran across this same problem today on Server 2008 with 1.7.3(0.225/5/3) and may have some info to help reproduce this issue. I get this error using: $ cmd /c "bash -c ls" 7 [main] bash 3336 C:\bin\bash.exe: *** fatal error - couldn't initialize fd 0 for /dev/tty2 with an ssh session and a

strange problem with cygrunsrv.exe

2010-04-02 Thread Egerton, Jim
This is truly bizarre (of course, it always is until you figure it out...) I have cygwin 1.7.1(0.218/5/3) on Server 2008 and I use cygrunsrv for several services (sshd, exim, and named). Most of the time this works perfectly, but every once in a while the services (all of them) won't start. As

find crash while traversing /proc

2010-03-20 Thread Egerton, Jim
Hi, I'm running cygwin 1.7.1(0.218/5/3) on Server 2008 and see a crash with find. I first noticed it with: $ find / -name foo and have narrowed it down a bit to the point where it looks like the find process crashes looking at it's own data in /proc: from ps: PIDPPIDPGI

RE: c:/dev, find

2009-12-24 Thread Egerton, Jim
> Although actually this /particular/ problem seems to be a bug in > cygwin's > find; it's come up a couple of times in the past few months and been > referred > back upstream IIRC. Don't suppose "-xdev" helps does it? I didn't try -xdev, but after I fixed the bash postinstall to create c:\dev

c:/dev, find

2009-12-24 Thread Egerton, Jim
Congrats on getting 1.7.1 out the door - not sure if 3 gold stars is enough! I have noticed one odd thing. For historical reasons we (ducking now) install cygwin in /.The bash postinstall script has: DEVDIR="$(cygpath -au "C:/$(cygpath -am /dev/)" | sed 's|/c/\(.\):/|/\1/|')" mkdir -p "$DE

1.7.1 release date?

2009-11-18 Thread Egerton, Jim
Was wondering if there any news on the 1.7.1 release data - beta page has: The official 1.7.1 release should go public in late October or early November 2009. Thanks! jim -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

RE: mkdir differences between 1.5.25 and 1.7

2009-11-02 Thread Egerton, Jim
> > $ ls -ld /tmp/foo > > drwxr-xr-x 1 root Administrators 0 Oct 29 20:27 /tmp/foo > > That's a umask thingy. Your umask is probably set to 0022, and per > POSIX, mkdir(2) has to take the umask into account. If you use > mkdir(1) > from coreutils: > > mkdir -m 777 /tmp/foo > > it should crea

RE: mkdir differences between 1.5.25 and 1.7

2009-10-29 Thread Egerton, Jim
> That's fixed in CVS. Excellent! I'm not familiar with the Cygwin build schedule - how often are the packages updated so I can give this another try? > > I also ran into a problem with the mkdir "C" API which may or may not > > be related. As far as I can tell, the permissions mask passed t

mkdir differences between 1.5.25 and 1.7

2009-10-28 Thread Egerton, Jim
Hi, I'm seeing a few things with mkdir and acl's I don't quite understand - OS is Server 2008. First, from the shell I see different behaviors with mkdir on 1.5.25 and 1.7. On 1.5.25 ($ filever \\usr\\bin\\cygwin1.dll --a-- W32i DLL ENU 1005.25.0.0 shp 1,872,884 06-12-2008 cygwi

RE: sshd / VC builds / Fatal Error C1902

2009-10-21 Thread Egerton, Jim
> So are you saying that one of the two new ways in 1.7 for pub-key > authentication > doesn't solve this problem? > > > > I missed cyglsa-config - works fine now. T

RE: howto schtasks without being within administrator group

2009-10-18 Thread Egerton, Jim
I had a similar requirement to give a non administrator user read access to the task scheduler and accomplished this with: setfacl -m default:user:test:r-x,user:test:r-x /windows/tasks setfacl -m default:user:test:r-x,user:test:r-x /windows/tasks/* This was for read access only, but you c

RE: sshd / VC builds / Fatal Error C1902

2009-10-13 Thread Egerton, Jim
Thanks for the suggestion. The path is the same with bash from Windows and bash from a ssh session. I think this problem has come up before and it was related to the sshd impersonation. As others have noted, a work around is to ssh in as the same user sshd runs under, but that makes things

sshd / VC builds / Fatal Error C1902

2009-10-12 Thread Egerton, Jim
There have a few threads on this subject over the years: http://cygwin.com/ml/cygwin/2007-01/msg00651.html http://sourceware.org/ml/cygwin/2007-11/msg00473.html http://www.cmake.org/pipermail/cmake/2007-January/012450.html The gist is that cl works from Windows, but dies with: Fatal Error C1

RE: top - uknown terminal type

2009-10-02 Thread Egerton, Jim
Works fine after running /etc/postinstall/terminfo0.sh. thanks Chuck/Christopher, jim > -Original Message- > From: Charles Wilson [mailto:cyg...@cwilson.fastmail.fm] > Sent: Thursday, October 01, 2009 6:54 PM > To: cygwin@cygwin.com > Subject: Re: top - uknown terminal ty

top - uknown terminal type

2009-10-01 Thread Egerton, Jim
top gives me 'cygwin': unknown terminal type with a fresh 1.7 install on server 2008. Any ideas what I am missing? thanks jim cygcheck -c output: Cygwin Package Information Package Version Status _update-info-dir 00833-1 OK alternatives 1.3.30c

ssh impersonation

2008-10-30 Thread Egerton, Jim
Hello, I've installed cygwin-1.25-15 on Server 2008 and seem to be seeing issues related to sshd's impersonation of a public key authenticated user. Google turned up a few threads on this subject: http://www.cygwin.com/ml/cygwin/2006-07/msg00577.html http://cygwin.com/ml/cygwin/2007-01/