Re: Write access for BUILTIN\USERS - cygwin privilege escalation vulnerability for Windows 2008 default installation

2009-10-21 Thread Andrew McGill
Here a workaround for this wide open flaming security hole in the default CYGWIN install. The workaround may or may not be correct: * Browse to C:\ * Right-click on "cygwin" folder * Choose "Sharing and security" * Choose "Advanced" * Remove the tick mark from "Allow inheritable permissions

Re: Cygwin package manager

2009-10-21 Thread Chris Cormie
> On first look, it seems good. Would you consider packaging it as a Cygwin > package? You'd get more people using it that way. > > If you haven't maintained a Cygwin package before, it wouldn't be much work > to get this one going, since it's so simple. I don't think I'd want to > maintain

Re: Cygwin package manager

2009-10-21 Thread Chris Cormie
Jacob Jacobson wrote: > Chris Cormie wrote: >> Hi, >> >> I am working on a Cygwin package manager with an interface resembling >> apt-get. >> It's still a work in progress, but functional (commands below.) >> http://code.google.com/p/cyg-apt/ > > [cyg-apt-1.0.4-1$:530] ./cyg-apt setup > cyg-apt: c

Re: gawk Has Problem With CRLF in Mixed Binary/Text Files

2009-10-21 Thread Dave Korn
t.a.n.s.t.a.a.f.l@ wrote: > [ ... ] but as can be seen by the attached files, the downloaded > gawk executable always changes CRLF to LF, Is this what you're looking for? > File: gawk.info, Node: User-modified, Next: Auto-set, Up: Built-in > Variables > > 6.5.1 Built-in Variables That C

Re: Cygwin 1.7 crontab question

2009-10-21 Thread Dmitry Semyonov
On Wed, Oct 21, 2009 at 22:14, Larry W. Virden wrote: > However, I don't know what environment variables the crontab entries will > have. Look at X-Cron-Env headers in e-mail notifications generated by cron. > When the time passed for my script to run, I don't see any indication that it > hap

Re: Cygwin package manager

2009-10-21 Thread Andrew Schulman
> I am working on a Cygwin package manager with an interface resembling > apt-get. > It's still a work in progress, but functional (commands below.) > http://code.google.com/p/cyg-apt/ > > It would be great if some folks tried out the initial release and > provided me with some feedback. On fir

cygwin setup and ATT ast-ksh cygwin download?

2009-10-21 Thread Larry W. Virden
I'm working to get the ast-ksh cygwin download installed under Cygwin 1.7. I've run into a couple pecularities. First, the file that gets downloaded is ast-ksh.blahblahblah.tgz . I presumed it was a gzip'd tar file, but discovered that, instead, it was a plain tar file. I extracted the files, and

Re: Cygwin package manager

2009-10-21 Thread Jacob Jacobson
Chris Cormie wrote: Hi, I am working on a Cygwin package manager with an interface resembling apt-get. It's still a work in progress, but functional (commands below.) http://code.google.com/p/cyg-apt/ [cyg-apt-1.0.4-1$:530] ./cyg-apt setup cyg-apt: creating /c/home//.cyg-apt. getting /etc/se

Cygwin 1.7 crontab question

2009-10-21 Thread Larry W. Virden
I now have access to a Cygwin 1.7 installation. I've been trying things out and I am having a spot of trouble that I hope someone can help me through. I created a crontab file. In it, I want to run a program from my $HOME/bin directory. However, I don't know what environment variables the cront

Re: Probably not a cygwin problem but help appreaciated

2009-10-21 Thread James Fuller
Thanks Dave but I don't think any of that applies with BaCon? BaCon 's translated code dynamically loads and links with all (dll's, so's). From the CygWin doc's it appears you need to run the x server first before you use gtk. Such is not the case with BaCon created code. I first wanted to see if c

Re: Probably not a cygwin problem but help appreaciated

2009-10-21 Thread Dave Korn
James Fuller wrote: > http://www.allbasic.info/forum/index.php?topic=794.0 > "I did get Gtk from here: http://www.gtk.org/download-windows.html " You didn't read that page carefully enough: it says "These packages are not for developing or running programs that use the Cygwin Unix emulation e

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: Quantum LTO 4 tape drive and Cygwin 1.7?

2009-10-21 Thread Corinna Vinschen
On Oct 21 10:19, Jeffrey C. Smith wrote: >> If you want to see the name of the tape drive on your system, just open >> the Device Manager and then open the device tree element "Tape drives". >> You should find an entry named like your tape device, for instance >> "QUANTUM ULTRIUM 4" or something al

RE: "Permission denied" on /usr/bin/sh when running gmake with multiple jobs

2009-10-21 Thread John Daintree
Oh, and the cygwin version is... /usr/bin/sh --version GNU bash, version 3.2.49(22)-release (i686-pc-cygwin) Copyright (C) 2007 Free Software Foundation, Inc. /john -Original Message- From: John Daintree [mailto:jo...@dyalog.com] Sent: 21 October 2009 14:26 To: cygwin@cygwin.com Subject

Probably not a cygwin problem but help appreaciated

2009-10-21 Thread James Fuller
I don't want to pollute the list but if you have a minute take a look at the third post concerning modeless dialogs. http://www.allbasic.info/forum/index.php?topic=794.0 Thanks, James -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documen

Re: Quantum LTO 4 tape drive and Cygwin 1.7?

2009-10-21 Thread Jeffrey C. Smith
Corinna, Thanks for your reply. My responses below... Corinna Vinschen wrote: On Oct 20 15:24, Jeffrey C. Smith wrote: I'm trying to use tar from Cygwin 1.7 Beta on a Win 2008 R2 machine to backup some files to a Quantum LTO 4 SAS tape drive. I've tried all the usual POSIX paths (/dev/nst0, /

"Permission denied" on /usr/bin/sh when running gmake with multiple jobs

2009-10-21 Thread John Daintree
Hello all, I've tried to solve my problem online and in the mailing list archives, but I've had no joy. I'm working on a makefile for an application. Everything runs fine if I just run the make in a single job. However if I use the gmake -j to run multiple concurrent jobs I get unexpected er

Re: Quantum LTO 4 tape drive and Cygwin 1.7?

2009-10-21 Thread Corinna Vinschen
On Oct 20 15:24, Jeffrey C. Smith wrote: > I'm trying to use tar from Cygwin 1.7 Beta on a Win 2008 R2 machine to > backup some files to a Quantum LTO 4 SAS tape drive. I've tried all the > usual POSIX paths (/dev/nst0, /dev/st0, /dev/st1, etc.) as well as some > other variants (\\.\tape0) with

Re: Cygwin/OpenSSH authentication without applying group policies...

2009-10-21 Thread Corinna Vinschen
On Oct 21 08:39, carsten.porz...@spb.de wrote: > Dear Cygwin community, > > we are just having problems with some locations connect over WAN lines > with only little bandwith. > > The logon process against a Win2003 AD domain controller takes much time > (>50s). After some analysis we found out

Re: Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7

2009-10-21 Thread Chris Francy
On Tue, Oct 20, 2009 at 10:12 PM, Steven Monai wrote: > Chris Francy wrote: > > I'm in a situation somewhat similar to yours. Up to now I have been > using the current stable Cygwin (v1.5) to test rsync as a possible > backup solution. I have a home-baked rsync/--link-dest script that > ... > limi

Re: Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7

2009-10-21 Thread Chris Francy
First things first, I have narrowed it down and learned something that resolves the issue for what I am trying to do. For versions of rsync before 2.5.6 you could not use the link-dest reliably unless you copy the permissions/ownership information. With newer versions of rsync this is not necessa