upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread Matt Swift
I've verified on two machines running XP Pro with up-to-date Cygwin installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1 breaks sshd when running with privilege separation (the default). Clients (including ssh localhost) can not log into the Cygwin sshd. Either turning off

Re: ln and mkshortcut inconsistent in handling of .exe extension

2003-09-30 Thread Matt Swift
L == Larry wrote: L If you want/need a Windows-style shortcut with all the L semantics that implies, use 'mkshortuct'. Is that the point L you were missing? I am not asking for all the semantics, just the ones that are documented (user guide 3.5) to exist for all Cygwin symlinks.

/usr/bin/su.exe in sh-utils always fails

2003-09-29 Thread Matt Swift
The Cygwin FAQ says that there is no `su' command in recent versions of Cygwin, The sh-utils package, however, currently contains an `su' command, but it doesn't work. The shell transcript below illustrates the problem. You have to trust me that I offer the same password to `su' as I do to

ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Matt Swift
The following shell transcript demonstrates that `ln' does not handle the .exe extension gracefully, like mkshortcut does. I believe graceful behavior would require the following changes: 1) `ln' would not give the two errors below when trying to create hardlink-to-base and

ssh shell's mount table differs from normal shell's

2003-09-29 Thread Matt Swift
I do not understand why the Cygwin mount table should be different in the bash shell that I launch with cygwin.bat or rxvt.exe than the mount table I get when I ssh to the host with the same user. The shell transcript below illustrates the difference. The Windows drives H: and S:, which are

Re: ln and mkshortcut inconsistent in handling of .exe extension

2003-09-29 Thread Matt Swift
L == Larry wrote: L 'ln' and 'mkshortcut' have different behavior for a reason. See L http://cygwin.com/cygwin-ug-net/using-effectively.html#AEN1516. L The difference is why 'mkshortcut' exists. Otherwise, we'd just have L 'ln' (which is all we had for quite some time until

chmod: unexpected results when uid = gid for a file

2002-09-21 Thread Matt Swift
I have observed the following reproducible strange behavior of chmod. You will notice that several of the commands do something different than they would do on a Unix system (I've marked these commands with !!! in the right margin). I think chmod is doing the wrong thing in those cases, but

ntsec vs ntea

2002-09-21 Thread Matt Swift
I have been using Cygwin with a value CYGWIN=ntsec ntea binmode tty for a long time under Win2k and WinXP with NTFS hard drives. On rereading the documentation, it seems to me that the ntea and ntsec values select different solutions to the same problem, and that there is no reason to set both.

nfs server ported?

2002-09-21 Thread Matt Swift
Back in January on this list, there was a short discussion of porting nfs servers, userspace and otherwise. Is there one available now? I tried to compile the userspace server from ftp://linux.mathematik.tu-darmstadt.de/pub/linux/people/okir/ but it needs a lot of headers under

ldd.cygwin

2002-09-19 Thread Matt Swift
yet, but that should not be hard to fix. (See a comment on buggy(?) behavior of type -p.) I probably won't do more with this than fix that sometime. On Wed, Sep 18, 2002 at 11:37:55AM -0600, Warren Young wrote: Matt Swift wrote: Attached is a bash script that emulates the ldd(1

Re: ldd.cygwin

2002-09-19 Thread Matt Swift
Amazing -- I tested it a dozen times, but I must have deleted it. It's there now, and I won't touch it again! Thanks for the heads-up. http://www.shore.net/~swift/ldd.cygwin.txt (You get redirected to http://www2.primushost.com/~swift/ldd.cygwin.txt which is the same thing.) U == Uwe

Script to emulate ldd

2002-09-17 Thread Matt Swift
Attached is a bash script that emulates the ldd(1) utility. Enjoy. ldd Description: Binary data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: