Re: [RFU] mintty-0.4.0-2
On Jun 9 12:20, Andy Koppe wrote: For both 1.5 and 1.7: wget http://mintty.googlecode.com/files/mintty-0.4.0-2.tar.bz2 wget http://mintty.googlecode.com/files/mintty-0.4.0-2-src.tar.bz2 Please delete 0.4.0-1, which was missing the preinstall and preremove scripts. 0.3.8-1 can go as well. Uploaded and done. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat
Is it time to promote emacs-23?
Based on what I've seen since emacs-23 became available for testing, I think it's probably time to promote it to current rather than experimental for people testing cygwin 1.7. That leaves a few weeks before the release of 1.7 to help emacs users with the transition from emacs-21 to emacs-23. At the same time, I would want to rebuild the package with the latest cygport and improve the documentation. Before sending an RFU, I'd like to know whether people think this is reasonable. An alternative would be to wait until the dust settles from the release of 1.7. As to 1.5, my inclination is to do nothing further, leaving emacs-21 as current and emacs-23 as experimental. My thinking is that users who stick with 1.5 prefer stability. But if they do decide they want emacs-23, they can still choose it. Ken
RXVT problem
Hi, since yesterday I'm experiencing a weird problem with RXVT. Let me detail my configuration: According to uname -a: CYGWIN_NT-5.0 LEONARDO 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin I'm using Win2000-SP4, and I've created a shortcut in the quick launch bar to start an RXVT terminal with this parameters: Target: C:\cygwin\bin\rxvt.exe -e bash --login Start in: C:\cygwin\bin The problem is when I click this shortcut, the terminal opens and closes immediately, this doesn't happen if I change Target to: C:\cygwin\bin\rxvt.exe, leaving out -e bash --login. Also, if I open a bash terminal (in text mode), and inside it I call rxvt -e bash --login, it starts as it should. What can be causing this behavior? P.S.: I'm running NOD32 4.0.424.0 (antivirus + firewall). Thanks in advance, -- Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 __ Información de ESET Smart Security, versión de la base de firmas de virus 4142 (20090609) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com
Re: RXVT problem
On Tue, Jun 09, 2009 at 03:51:33PM -0300, Leonardo M. Ram? wrote: Hi, since yesterday I'm experiencing a weird problem with RXVT. Please use the main cygwin list for bug reports. Thank you. cgf
Re: RXVT problem
Thanks, I posted here because I did'n think it could be a bug. Leonardo M. Ramé Griensu S.A. - Medical IT Córdoba Tel.: 0351 - 4247979 Christopher Faylor escribió: On Tue, Jun 09, 2009 at 03:51:33PM -0300, Leonardo M. Ram? wrote: Hi, since yesterday I'm experiencing a weird problem with RXVT. Please use the main cygwin list for bug reports. Thank you. cgf __ Información de ESET Smart Security, versión de la base de firmas de virus 4142 (20090609) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com __ Información de ESET Smart Security, versión de la base de firmas de virus 4142 (20090609) __ ESET Smart Security ha comprobado este mensaje. http://www.eset.com
Re: AltGr sometimes generates Control_L
Jon TURNEY jon.tur...@dronecode.org.uk writes: Hannu Koivisto wrote: Hmm... can I see the first few lines of your /var/log/Xwin.0.log, please, so I can see what keyboard layout windows is reporting and X is using. The only keyboard related lines I can see are around line 36 and they are: (--) 16 mouse buttons found (--) Setting autorepeat to delay=250, rate=31 (--) winConfigKeyboard - Layout: 040B (040b) (--) Using preset keyboard for Finnish (40b), type 4 But a bigger problem is that AltGr sometimes generates Control_L in addition to ISO_Level3_Shift, which makes Emacs (which I run from a Linux machine remotely over X) quite unhappy. For example, when I'm trying to enter }, which in Finnish layout is done by AltGr+0, Emacs complains that C-} is undefined. Hmm.. in fact, I think a Ctrl-L is generated for every AltGr keypress by Windows. The X server contains special code to eat these keypresses, but it seems this is not working as reliably as it should be. Interesting. And odd :) It would be useful to know if you have TweakUI installed, as comments in the code indicate and FAQ 5.1.7 indicate that did cause problems with this AltGr handling which are thought to be fixed.. I don't have TweakUI installed. I've seen earlier complaints about the same problem dating back to 2005 but nothing that would help me solve this problem. Links, please I actually simply read the mails using my news reader (I'm reading this list via gmane) and I don't have them around anymore, but gmane searchs finds something: http://search.gmane.org/?query=altgrgroup=gmane.os.cygwin.xfree -- Hannu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Proposed patch to system.XWinrc
I recommend that the xorg-server maintainers consider the following patch to system.XWinrc: --- system.XWinrc.orig 2009-02-22 12:27:28.0 -0500 +++ system.XWinrc 2009-06-09 11:57:50.328125000 -0400 @@ -79,8 +79,8 @@ // Make some menus... menu apps { - xterm execxterm - Emacs execemacs + xterm execxterm -ls + emacs execbash -l -c /usr/bin/emacs notepad execnotepad xload execxload -display %display% # Comment } The most important part of this is changing the way emacs is called; the original version didn't work at all for me (i.e., emacs didn't start). This might be related to the fact that I've installed the emacs-23 packages, which use the alternatives system: /usr/bin/emacs - /etc/alternatives/emacs /etc/alternatives/emacs - /usr/bin/emacs-X11.exe Ken -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
src/winsup/cygwin ChangeLog autoload.cc fhandl ...
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2009-06-09 09:45:29 Modified files: winsup/cygwin : ChangeLog autoload.cc fhandler_proc.cc Log message: * autoload.cc (GetSystemTimes): Remove. * fhandler_proc.cc (format_proc_uptime): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Drop call to GetSystemTimes and retrieve SystemPerformanceInformation on all systems again with buffer size big enough for 64 bit systems. (format_proc_stat): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Retrieve SystemPerformanceInformation with buffer size big enough for 64 bit systems. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.4517r2=1.4518 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srcr1=1.159r2=1.160 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_proc.cc.diff?cvsroot=srcr1=1.86r2=1.87
Re: why /etc/bash.bashrc is not executed when logging in as a domain user?
/etc/bash.bashrc is called by $HOME/.bash_profile like: 17 # source the system wide bashrc if it exists 18 if [ -e /etc/bash.bashrc ] ; then 19 source /etc/bash.bashrc 20 fi Check your $HOME/.bash_profile at first. 2009/6/9 Pan ruochen panruoc...@gmail.com Hi All, The system wide bashrc file /etc/bash.bashrc is not executed if I log in Windows XP as a domain user; and it is executed if I log in as a local user. Is this mentioned in the manual? PRC Jun 9,2009 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Why sh failed 'Process Substitution'?
Hi All, Why sh failed to recognize Process Substitution, even if /bin/sh.exe is a copy of /bin/bash.exe? $cat test.sh #!/bin/bash A=A B=B diff (echo $A) (echo $B) $sh test.sh a.sh: line 4: syntax error near unexpected token `(' a.sh: line 4: `diff (echo $A) (echo $B)' -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Remote desktop connection
Robert Rackl writes: It seems that with regular RDP, I can only do it using one local screen; if there is a way to use multiple screens please let me know how. A couple of years ago, a friend showed me how to use Cygwin to establish a remote desktop connection using two local screens which worked well until a disk crash. That friend is now far away and very busy - I'd rather not bother him. RDP is the protocol between machines, Remote Desktop is the way Microsoft describes the facility, mstsc.exe is the Windows program that provides it. As Andrew said earlier, none of this is Cygwin specific and so it's off-topic for this mailing list. I can't speak for all 1500+ folks on this list but I'd suggest you go ahead and bother your friend who set this up for you before :-). At least ask him if Cygwin was required or did he just happen to be using it as a convenient working environment for running some Windows (not Cygwin) program. If Cygwin was required then ask him which Cygwin program(s) he was running, with which options. Then at least your questions will be on-topic and you can consider coming back to this mailing list for help. ..mark -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Remote desktop connection
Robert Rackl wrote: It seems that with regular RDP, I can only do it using one local screen; if there is a way to use multiple screens please let me know how. You are using incorrect terminology here, namely the concept of screen. RDP allows you to connect to a remote system and present you with a desktop. In Windows XP you can connect one RDP session. Doing so moves the desktop from the local machine to the machine that is requesting the RDP session. With Windows XP you are allowed to do this once. With Windows Server you are allowed to do this twice. You can buy more RDP licenses though I have yet to see a shop that has done that. Most buy Citrix which is much more expensive and does pretty much the same thing. A couple of years ago, a friend showed me how to use Cygwin to establish a remote desktop connection using two local screens which worked well until a disk crash. That friend is now far away and very busy - I'd rather not bother him. There is software called VNC which has a server component and a client component. It allows you do to what RDP does. It's open source so you could use that. The downside is that VNC is a much less efficient protocol and thus you'll see things like sluggishness when you move the mouse or windows, etc. The plus side is that you can have many connections. There's also rdesktop that you can install on Linux systems. I don't know if anybody has ported that to Cygwin. Plus side, it's using RDP protocol, thus it's quick. Minus side - same restrictions WRT Windows XP and one RDP session allowed. Then there's the whole concept of remote access the Unix way which includes such methods as ssh, X, etc. Perhaps you should try describing better what exactly you are trying to accomplish... -- Andrew DeFaria http://defaria.com I always take life with a grain of salt, plus a slice of lemon and a shot of tequila. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin OpenSSH GPL Violation?
On Jun 8 21:58, Karl M wrote: http://www.neophob.com/serendipity/ Hi All... I just ran across this site and didn't find any source code offered. Is this a known site? Now it is. I contacted the guy to add the sources to the site. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [1.7] Cannot read /proc/stat
On Jun 8 12:51, Yaakov S wrote: On 08/06/2009 12:14, Corinna Vinschen wrote: Confirmed. The reason is that a datastructure on the NT level has another size on 64 bit systems, and the WOW64 layer doesn't translate the structure into the 32 bit format. The function is unsupported, so that makes sort of sense. I'll create another solution using the official function for to fetch that information. Unfortunaltey it doesn't exist on NT4, so I have to sp3cial case that(*) Thanks. This is fixed in -49. Note, however, that not all information in /proc/stat is available on 64 bit machines. Some of the information printed in /proc/stat, namely the swap_in/swap_out pages, require access to the SystemPerformanceInformation category in a call to NtQuerySystemInformation. The structure returned by this call is also different on 64 bit systems, even when running under WOW64. The SYSTEM_PERFORMANCE_INFORMATION structure was already undocumented on 32 bit systems, and on 64 bit systems it's even more undocumented, if that's possible :) Unfortunately, to date there's no official replacement function which provides the page read/write count. So, on 64 bit systems, this information is set to 0 in /proc/stat. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Why sh failed 'Process Substitution'?
Pan ruochen wrote: Hi All, Why sh failed to recognize Process Substitution, even if /bin/sh.exe is a copy of /bin/bash.exe? $cat test.sh #!/bin/bash A=A B=B diff (echo $A) (echo $B) $sh test.sh a.sh: line 4: syntax error near unexpected token `(' a.sh: line 4: `diff (echo $A) (echo $B)' See the section 6.11 Bash POSIX Mode in the bash info page, item 22: 22. Process substitution is not available. cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
last update is weird
Hi, I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\cygwin-1.7\bin and the window title is -cmd while I think it used to be ~. Colors have disappeared. Then cursor can move anywhere in the terminal, up, down even if there is no text in the area, I can also go at the start of the line even before the prompt. It seems my profile is not read anymore since all my aliases have disappeared. Am i doing something wrong ? Is there any important changes ? Really don't recognize cygwin. Maybe a problem in the way mintty is called ? Classic cygwin terminal seems ok. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
Vincent R. wrote: Hi, I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : I just did an upgrade too (and got the latest mintty) and the shortcut that had been created during an earlier installation was now removed. Just starting mintty directly results in an ugly looking terminal as you say. I looked at another computer that I hadn't upgraded that still had the mintty shortcut and there I noticed that target was: C:\cygwin\bin\mintty.exe - (notice the - at the end) So I added a - to my target on my manually created shortcut and now mintty looks like it should when I start it. Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\cygwin-1.7\bin and the window title is -cmd while I think it used to be ~. Colors have disappeared. Then cursor can move anywhere in the terminal, up, down even if there is no text in the area, I can also go at the start of the line even before the prompt. It seems my profile is not read anymore since all my aliases have disappeared. Am i doing something wrong ? Is there any important changes ? Really don't recognize cygwin. Maybe a problem in the way mintty is called ? Classic cygwin terminal seems ok. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: R: How to make cygwin redirect in UNIX mode?
Christopher Faylor wrote: On Tue, Jun 09, 2009 at 10:27:27AM +0800, Pan ruochen wrote: you installed cygwin in text mode. So the output is DOS style, to have UNIX output you need to install in binmode I did get one cygwin distribution which can excute scripts both in DOS mode and in UNIX mode and output in UNIX mode. The distribution is released in one install-shield package instead of numbers of gzip packages with a setup program in the traditional way. Whoa! Stop right there. If you got Cygwin from someone else then you should go to the source for support. We don't support other people's packages here. We support the version of Cygwin that you get from the Cygwin web site. Theoretically this should not be too surprising. Please don't bother this list with questions about someone else's distribution. Really. I mean it. Whoa! Careful with that knee-jerk! [*] I thought the point was that the official install didn't work, but that the 3rd party packaged version *did* work (presumably because it's using an ancient, line-ending agnostic bash, and has been installed with binary mounts) My advice to the OP would be to reinstall the official release, and this time make sure that Unix/binary (RECOMMENDED) is selected in the Default Text File Type section in setup.exe. That version you've installed is completely out of date. As soon as you try to update it, you're likely to run into far more problems than if you install a current version and keep it up to date. [*] just to be clear and avoid offense, that's knee-jerk as in the reaction, not knee, jerk which would have had a completely different meaning ;-) Phil -- This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: [1.7] Cannot read /proc/stat
On Jun 9 10:31, Corinna Vinschen wrote: On Jun 8 12:51, Yaakov S wrote: On 08/06/2009 12:14, Corinna Vinschen wrote: Confirmed. The reason is that a datastructure on the NT level has another size on 64 bit systems, and the WOW64 layer doesn't translate the structure into the 32 bit format. The function is unsupported, so that makes sort of sense. I'll create another solution using the official function for to fetch that information. Unfortunaltey it doesn't exist on NT4, so I have to sp3cial case that(*) Thanks. This is fixed in -49. Note, however, that not all information in /proc/stat is available on 64 bit machines. Some of the information printed in /proc/stat, namely the swap_in/swap_out pages, require access to the SystemPerformanceInformation category in a call to NtQuerySystemInformation. The structure returned by this call is also different on 64 bit systems, even when running under WOW64. The SYSTEM_PERFORMANCE_INFORMATION structure was already undocumented on 32 bit systems, and on 64 bit systems it's even more undocumented, if that's possible :) Unfortunately, to date there's no official replacement function which provides the page read/write count. So, on 64 bit systems, this information is set to 0 in /proc/stat. I just examined the structure content by 32 bit and 64 bit systems and it looks like the structure is actually the same, just with 16 extra trailing bytes. /proc/stat is now fetching the info with the buffer size big enough for 64 bit systems, so the information is available again. Hopefully. I did a close examination of both struct contents and I'm pretty sure this is ok. I'm just not 100% sure... Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
chmod/chgrp ignores Windows ACL full control? (rm works fine)
Hello all, Hi Corinna, I get a 'Permission denied' for 'chmod' or 'chgrp' on a file using a standard windows user with full access ('ls -l' shows: '-rwx--+ 1 admin None'). According to 'getfacl' the user has the rwx-rights on the file and there is no problem to move, copy or delete the file (with mv, cp, rm). This seems like an inconsistent mapping of the Windows permissions. Steps to reproduce: 1.) Create file 'test' belonging to an administrator in a folder C:\SPECIAL. 2.) Use a Windows group SPECIAL_USER_GRP with full control (Windows Properties-Security tab) including inheritance (Advanced settings: Replace permission entries on all child objects) on the folder C:\SPECIAL. 3.) A standard restricted normal user 'special_user' (only access allowed permissions are used) is added to the SPECIAL_USER_GRP. 4.) Use 'chmod 774 test' with the 'special_user': chmod: changing permission of `test´: Permission denied 5.) Use 'rm test' with the 'special_user' results in no problem. The file is gone. Please help me to set the shown group for 'ls -l' to the SPECIAL_USER_GRP with the rwx-rights, without changing the inherited 'full control' from the Windows ACL. Thanks in advance. Sincerely, Tilman Fischer PS: Links considered: http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-aclfuncs http://thread.gmane.org/gmane.os.cygwin/100351/focus=100359 http://thread.gmane.org/gmane.os.cygwin/103531/focus=103564 http://www.cygwin.com/ml/cygwin-developers/2005-08/msg0.html Microsoft Windows ACL full control: http://www.microsoft.com/windowsxp/using/security/learnmore/accesscontrol.ms px -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
On Tue, 09 Jun 2009 11:39:05 +0200, Eric Lilja mindcoo...@gmail.com wrote: Vincent R. wrote: Hi, I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : I just did an upgrade too (and got the latest mintty) and the shortcut that had been created during an earlier installation was now removed. Just starting mintty directly results in an ugly looking terminal as you say. I looked at another computer that I hadn't upgraded that still had the mintty shortcut and there I noticed that target was: C:\cygwin\bin\mintty.exe - (notice the - at the end) So I added a - to my target on my manually created shortcut and now mintty looks like it should when I start it. I already have the minus... I have uninstalled and resinstalled mintty but same problem. I can also see that start menu shortcut is not created anymore. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: chmod/chgrp ignores Windows ACL full control? (rm works fine)
On Jun 9 11:58, Fischer, Tilman wrote: Hello all, Hi Corinna, I get a 'Permission denied' for 'chmod' or 'chgrp' on a file using a standard windows user with full access ('ls -l' shows: '-rwx--+ 1 admin None'). According to 'getfacl' the user has the rwx-rights on the file and there is no problem to move, copy or delete the file (with mv, cp, rm). This seems like an inconsistent mapping of the Windows permissions. Steps to reproduce: 1.) Create file 'test' belonging to an administrator in a folder C:\SPECIAL. 2.) Use a Windows group SPECIAL_USER_GRP with full control (Windows Properties-Security tab) including inheritance (Advanced settings: Replace permission entries on all child objects) on the folder C:\SPECIAL. 3.) A standard restricted normal user 'special_user' (only access allowed permissions are used) is added to the SPECIAL_USER_GRP. 4.) Use 'chmod 774 test' with the 'special_user': chmod: changing permission of `test´: Permission denied 5.) Use 'rm test' with the 'special_user' results in no problem. The file is gone. In Cygwin 1.5 it won't work, because the chmod function uses the same code as the chown function and tries to change ownership. Well, not really, but it requests permission to change ownership. This will always fail since that requires SE_BACKUP_NAME privileges, which only admins have. It works in Cygwin 1.7, though, because the chown function does not request permission to change ownership anymore. But it will work only once. After setting the permissions the group will have POSIX-compatible permissions, and those don't include WRITE_DAC permissions. Only admins and the owner have permission to change permissions under POSIX rules. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin SSH Multiple Users
Hi, After enough tries we were able to start the sshd in our environment and local users are also able to login. But in comes the next problem. We have samba mounted a share onto this windows system. The user with which we samba mounted the share , is able to see the shares in Cygwin. But other users are not able to see the share when logged in through ssh and checked with df. We expect to see this share by all the local users who are logged in via SSH. Any suggestiosns are welcome please. Thanks, Sac -Original Message- From: Holikar, Sachin (ext) Sent: Freitag, 5. Juni 2009 09:09 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, We reinstalled WINXP and CYGWIN with another dumps. But still not able to start the sshd service. Really frustrated as we followed exact steps given in most of the internet help pages. So whats going wrong , is there any way to find out what more is needed or so? Where can we have the sshd logs. One file we found is /var/log/sshd.log ...But its empty... Please suggest. Thanks, sac -Original Message- From: Holikar, Sachin (ext) Sent: Donnerstag, 4. Juni 2009 08:14 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiying the ssh public keys of the user say admin and then connecting from remote machine using ssh -l mac winxp and then admin gets the ssh access as mac. But now the requirement is to be able to login as different users to this machine and we are stuck up. Really confused what went wrong. Any hint will be much appreciated. Thanks, sac -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Corinna Vinschen Sent: Mittwoch, 3. Juni 2009 17:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users On Jun 3 11:11, Georg Nikodym wrote: Also, Win32 error 1062 doesn't tell anybody anything. Paste more of the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin SSH Multiple Users
Everyone should mount by itself. 2009/6/9 Holikar, Sachin (ext) sachin.holikar@siemens.com: Hi, After enough tries we were able to start the sshd in our environment and local users are also able to login. But in comes the next problem. We have samba mounted a share onto this windows system. The user with which we samba mounted the share , is able to see the shares in Cygwin. But other users are not able to see the share when logged in through ssh and checked with df. We expect to see this share by all the local users who are logged in via SSH. Any suggestiosns are welcome please. Thanks, Sac -Original Message- From: Holikar, Sachin (ext) Sent: Freitag, 5. Juni 2009 09:09 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, We reinstalled WINXP and CYGWIN with another dumps. But still not able to start the sshd service. Really frustrated as we followed exact steps given in most of the internet help pages. So whats going wrong , is there any way to find out what more is needed or so? Where can we have the sshd logs. One file we found is /var/log/sshd.log ...But its empty... Please suggest. Thanks, sac -Original Message- From: Holikar, Sachin (ext) Sent: Donnerstag, 4. Juni 2009 08:14 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiying the ssh public keys of the user say admin and then connecting from remote machine using ssh -l mac winxp and then admin gets the ssh access as mac. But now the requirement is to be able to login as different users to this machine and we are stuck up. Really confused what went wrong. Any hint will be much appreciated. Thanks, sac -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Corinna Vinschen Sent: Mittwoch, 3. Juni 2009 17:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users On Jun 3 11:11, Georg Nikodym wrote: Also, Win32 error 1062 doesn't tell anybody anything. Paste more of the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
2009/6/9 Vincent R.: I already have the minus... I have uninstalled and resinstalled mintty but same problem. I can also see that start menu shortcut is not created anymore. Ah, packaging bug, sorry. I forgot to include the postinstall and preremove scripts. I'll upload a corrected 0.4.0-2 asap, but meanwhile you could run the attached script manually to create the shortcut. (You'll probably need administrator rights to do this.) sh postinstall.sh Andy postinstall.sh Description: Bourne shell script -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin SSH Multiple Users
Thanks for the reply but problem is no other users are able to see the samba shares through cygwin or via ssh(df). Only the user with which sshd is started is able to see the samba share. Hope I am clear this time. Thanks, Sac -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Huang Bambo Sent: Dienstag, 9. Juni 2009 12:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users Everyone should mount by itself. 2009/6/9 Holikar, Sachin (ext) sachin.holikar@siemens.com: Hi, After enough tries we were able to start the sshd in our environment and local users are also able to login. But in comes the next problem. We have samba mounted a share onto this windows system. The user with which we samba mounted the share , is able to see the shares in Cygwin. But other users are not able to see the share when logged in through ssh and checked with df. We expect to see this share by all the local users who are logged in via SSH. Any suggestiosns are welcome please. Thanks, Sac -Original Message- From: Holikar, Sachin (ext) Sent: Freitag, 5. Juni 2009 09:09 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, We reinstalled WINXP and CYGWIN with another dumps. But still not able to start the sshd service. Really frustrated as we followed exact steps given in most of the internet help pages. So whats going wrong , is there any way to find out what more is needed or so? Where can we have the sshd logs. One file we found is /var/log/sshd.log ...But its empty... Please suggest. Thanks, sac -Original Message- From: Holikar, Sachin (ext) Sent: Donnerstag, 4. Juni 2009 08:14 To: 'cygwin@cygwin.com' Subject: RE: Cygwin SSH Multiple Users Hello, Thanks for the info Corinna but ultimately we aint able to start the service somehow. And only way to start is to start with the user mac using /usr/sbin/sshd. But then no other user can connect via ssh to this machine. The work around we provided was copiying the ssh public keys of the user say admin and then connecting from remote machine using ssh -l mac winxp and then admin gets the ssh access as mac. But now the requirement is to be able to login as different users to this machine and we are stuck up. Really confused what went wrong. Any hint will be much appreciated. Thanks, sac -Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Corinna Vinschen Sent: Mittwoch, 3. Juni 2009 17:53 To: cygwin@cygwin.com Subject: Re: Cygwin SSH Multiple Users On Jun 3 11:11, Georg Nikodym wrote: Also, Win32 error 1062 doesn't tell anybody anything. Paste more of the session to provide some context. bash$ net helpmsg 1062 The service has not been started. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
On Tue, 9 Jun 2009 12:07:23 +0100, Andy Koppe andy.ko...@gmail.com wrote: 2009/6/9 Vincent R.: I already have the minus... I have uninstalled and resinstalled mintty but same problem. I can also see that start menu shortcut is not created anymore. Ah, packaging bug, sorry. I forgot to include the postinstall and preremove scripts. I'll upload a corrected 0.4.0-2 asap, but meanwhile you could run the attached script manually to create the shortcut. (You'll probably need administrator rights to do this.) sh postinstall.sh Andy Yes now shortcut is created but mintty still has no colors, weird appearance, ... I can see that arguments are still the same - : Target : C:\cygwin-1.7\bin\mintty.exe - -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\cygwin-1.7\bin and the window title is -cmd while I think it used to be ~. Colors have disappeared. Any chance you've got a Windows environment variable called SHELL that's set to cmd.exe? Try this to check: echo %SHELL% MinTTY 0.4 looks in that variable for a command to execute, like rxvt and xterm do. To override it, change your shortcut to this: Target : C:\cygwin-1.7\bin\mintty.exe /bin/bash -l Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: last update is weird
On Tue, 9 Jun 2009 13:20:12 +0100, Andy Koppe andy.ko...@gmail.com wrote: I have started cygwin-1.7 setup to update to latest cygwin dll and now when I start mintty, seems are very weird. My terminal looks like a mix between a windows terminal and mintty, for instance I have the following text in black and white : Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\cygwin-1.7\bin and the window title is -cmd while I think it used to be ~. Colors have disappeared. Any chance you've got a Windows environment variable called SHELL that's set to cmd.exe? Try this to check: echo %SHELL% MinTTY 0.4 looks in that variable for a command to execute, like rxvt and xterm do. To override it, change your shortcut to this: Target : C:\cygwin-1.7\bin\mintty.exe /bin/bash -l Thanks I had the $SHELL set to cmd.exe. Now it works fine. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: R: How to make cygwin redirect in UNIX mode?
On Tue, Jun 09, 2009 at 10:47:51AM +0100, Phil Betts wrote: Christopher Faylor wrote: On Tue, Jun 09, 2009 at 10:27:27AM +0800, Pan ruochen wrote: you installed cygwin in text mode. So the output is DOS style, to have UNIX output you need to install in binmode I did get one cygwin distribution which can excute scripts both in DOS mode and in UNIX mode and output in UNIX mode. The distribution is released in one install-shield package instead of numbers of gzip packages with a setup program in the traditional way. Whoa! Stop right there. If you got Cygwin from someone else then you should go to the source for support. We don't support other people's packages here. We support the version of Cygwin that you get from the Cygwin web site. Theoretically this should not be too surprising. Please don't bother this list with questions about someone else's distribution. Really. I mean it. Whoa! Careful with that knee-jerk! [*] Nope. The message was very clear. He provided cygcheck output from the nonstandard distribution, in fact. This isn't a democracy where you get a vote about how to use this mailing list. Once again, if the OP wants support for packages that weren't installed from the official distribution he shouldn't look for it here. Yes, if the OP wants to reinstall a new cygwin installation from http://cygwin.com/ then of course we'd support it. That goes without saying*. -- Christopher Faylor spammer? - aaas...@sourceware.org A Cygwin Project Lead *Yes, I understand the irony of making this statement on the cygwin list. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Why sh failed 'Process Substitution'?
Dave Korn wrote: Pan ruochen wrote: Hi All, Why sh failed to recognize Process Substitution, even if /bin/sh.exe is a copy of /bin/bash.exe? $cat test.sh #!/bin/bash A=A B=B diff (echo $A) (echo $B) $sh test.sh a.sh: line 4: syntax error near unexpected token `(' a.sh: line 4: `diff (echo $A) (echo $B)' See the section 6.11 Bash POSIX Mode in the bash info page, item 22: 22. Process substitution is not available. Pan, What Dave didn't point out is that it's because you're running your script using sh test.sh instead of using test.sh (or ./test.sh or whatever, depending your execution search path setting (PATH)) (or even using bash test.sh). Daniel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin SSH Multiple Users
Holikar, Sachin (ext) wrote: Thanks for the reply but problem is no other users are able to see the samba shares through cygwin or via ssh(df). Only the user with which sshd is started is able to see the samba share. Hope I am clear this time. Not entirely but enough that I can hazard a guess at what you see as a problem, since it's been discussed to death on this list. Fortunately for you, you can get a summary by looking at the FAQ: http://cygwin.com/faq/faq-nochunks.html#faq.using.shares This link is for Cygwin 1.5. If you're using the upcoming Cygwin 1.7 release, then you'll want to look at this link instead: http://cygwin.com/1.7/faq/faq.using.html#faq.using.shares You have more options with 1.7 so if one of those will suit your needs better than 1.5, that's a good reason to check it out. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Why sh failed 'Process Substitution'?
Pan ruochen wrote: Why sh failed to recognize Process Substitution, even if /bin/sh.exe is a copy of /bin/bash.exe? It's very common in UNIXland for a program to change its behavior depending on the name by which it is invoked. ln, mv, and rm are often links to the same command; there's at least one embedded UNIXalike where all the commands in /bin are links to the same executable. The script has a #!/bin/bash at the top, indicating that it is meant to be run by bash in bash mode. If you make it executable and run it directly, that line will be honored and the shell will be invoked as bash. Or you can run it by typing bash ./scriptname. None of this, of course, is at all Cygwin-specific. -- Mark J. Reed markjr...@gmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Remote desktop connection
Andrew DeFaria wrote .. Robert Rackl wrote: It seems that with regular RDP, I can only do it using one local screen; if there is a way to use multiple screens please let me know how. You are using incorrect terminology here, namely the concept of screen. RDP allows you to connect to a remote system and present you with a desktop. In Windows XP you can connect one RDP session. Doing so moves the desktop from the local machine to the machine that is requesting the RDP session. With Windows XP you are allowed to do this once. With Windows Server you are allowed to do this twice. You can buy more RDP licenses though I have yet to see a shop that has done that. Most buy Citrix which is much more expensive and does pretty much the same thing. A couple of years ago, a friend showed me how to use Cygwin to establish a remote desktop connection using two local screens which worked well until a disk crash. That friend is now far away and very busy - I'd rather not bother him. There is software called VNC which has a server component and a client component. It allows you do to what RDP does. It's open source so you could use that. The downside is that VNC is a much less efficient protocol and thus you'll see things like sluggishness when you move the mouse or windows, etc. The plus side is that you can have many connections. There's also rdesktop that you can install on Linux systems. I don't know if anybody has ported that to Cygwin. Plus side, it's using RDP protocol, thus it's quick. Minus side - same restrictions WRT Windows XP and one RDP session allowed. Then there's the whole concept of remote access the Unix way which includes such methods as ssh, X, etc. Perhaps you should try describing better what exactly you are trying to accomplish... -- Andrew DeFaria http://defaria.com I always take life with a grain of salt, plus a slice of lemon and a shot of tequila. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ using java's properrdp you can use multiple rdp sessions on remote desktop .. but only if the users do not have admin priv's -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cron jobs stopped working : can't lock cron.pid .. Resouce temporarily unavailable
- Original Message - From: sam naqvi To: cygwin@cygwin.com Sent: Tuesday, June 09, 2009 11:48 AM |i had setup some cron jobs on cygwin last Friday. a few of them were test scripts to see if the cron is firing smoothly on the right time without errors. And there were some actual scripts too. | It was working fine on Friday, giving output to all the test scripts at correct times. | | however, it did not work for the jobs that it had to run over the weekend. in fact, now, it does not even run the test scripts. | | an error that i could locate in var/log/Cygwin\ cron.log file is as follows: | /usr/sbin/cron: can't lock /var/run/cron.pid, otherpid may be 9556: Resource temporarily unavailable | please see the attachment for details. | | i have gone through the cygwin mail archives and general google search on any similar reported problem. this problem looks similar (http://www.cygwin.com/ml/cygwin/2008-05/msg00280.html) but i could not understand what is causing a lock in my case and how to fix it. i am a beginner in cygwin crons and could not find the problem or the cause of it. can someone please help here? You are running the cron daemon as SYSTEM on a Windows 2003 Enterprise Server. On such a system the demon cannot change user context (setuid), thus the jobs don't run. According to the log, you started using SYSTEM on May 12 but on May 13 you were able to successfully run the daemon under a user named EXSAN. However on Jun 5 at 20:34:54 you reverted to using SYSTEM All of that is clearly visible in the cronbug.txt file you sent us. The message can't lock /var/run/cron.pid probably indicates that you are trying to start a new cron while one is already running. Looks like you are not using cron-config to configure and start the daemon. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Hi! chao ban
Xin chao, Chuc mot ngay tot lanh! Moi ban ghe tham website Mua sam Shoping truc tuyen : http://www.PhoMuasam.net . Phomuasam.net la CO HOI VANG cho nhung ban muon mo Shop,kinh doanh truc tuyen , tin cay ! Chuc ban thanh cong voi PMS Rat cam on da doc thu P/S: Xin loi neu email nay lam phien ban, 1 ngay tot lanh :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
lynx broken again?
A few months back, due to library issues, lynx stopped working. It was sorted out by fixing libncurses8?? and other related libs. After my last update last evening, my scripts using lynx have stopped working. It simply returns 'Lynx is the text browser...' when trying a batch fetch. But a manual launch within the shell seems to work with any site. sivaram -- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: doc about the cygwin vfs?
2009/6/8 Dave Korn dave.korn.cyg...@googlemail.com: jean-luc malet wrote: there is obviously a kind of vfs else /cygdrive/C or / wouldn't exist. /dev/null neither as long as the fs shown to the application isn't the same as the one of the native OS there is a vfs... I remember working on this last year. Here's a start: -- Reini Urban http://phpwiki.org/ http://murbreak.at/ fhandler_fuse.cc.gz Description: GNU Zip compressed data -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
1.7: Version info about Cygwin
Can someone explain the difference in version info between?: * cygcheck -c cygwin * uname -a To wit: Cygwin Package Information Package VersionStatus cygwin 1.7.0-49 OK \ \ Versus \ CYGWIN_NT-6.0-WOW64 GW1 1.7.0(0.210/5/3) 2009-06-08 22:13 i686 Cygwin Thanks, Lee -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cron jobs stopped working : can't lock cron.pid .. Resouce temporarily unavailable
--- On Tue, 6/9/09, Pierre A. Humblet pierre.humb...@ieee.org wrote: From: Pierre A. Humblet pierre.humb...@ieee.org Subject: Re: Cron jobs stopped working : can't lock cron.pid .. Resouce temporarily unavailable To: sam naqvi email_...@yahoo.com, cygwin@cygwin.com Date: Tuesday, June 9, 2009, 11:45 AM - Original Message - From: sam naqvi To: cygwin@cygwin.com Sent: Tuesday, June 09, 2009 11:48 AM |i had setup some cron jobs on cygwin last Friday. a few of them were test scripts to see if the cron is firing smoothly on the right time without errors. And there were some actual scripts too. | It was working fine on Friday, giving output to all the test scripts at correct times. | | however, it did not work for the jobs that it had to run over the weekend. in fact, now, it does not even run the test scripts. | | an error that i could locate in var/log/Cygwin\ cron.log file is as follows: | /usr/sbin/cron: can't lock /var/run/cron.pid, otherpid may be 9556: Resource temporarily unavailable | please see the attachment for details. | | i have gone through the cygwin mail archives and general google search on any similar reported problem. this problem looks similar (http://www.cygwin.com/ml/cygwin/2008-05/msg00280.html) but i could not understand what is causing a lock in my case and how to fix it. i am a beginner in cygwin crons and could not find the problem or the cause of it. can someone please help here? You are running the cron daemon as SYSTEM on a Windows 2003 Enterprise Server. On such a system the demon cannot change user context (setuid), thus the jobs don't run. According to the log, you started using SYSTEM on May 12 but on May 13 you were able to successfully run the daemon under a user named EXSAN. However on Jun 5 at 20:34:54 you reverted to using SYSTEM All of that is clearly visible in the cronbug.txt file you sent us. The message can't lock /var/run/cron.pid probably indicates that you are trying to start a new cron while one is already running. Looks like you are not using cron-config to configure and start the daemon. Pierre Thank you for your attention and assistance, Pierce. cron was reinstalled as 'Cygwin cron' service later under 'Local System' ownership so that any local user who has the local admin rights should be able to have their jobs executed through it. It was to correct an earlier installation which was user specific (EXSAN, as you pointed out), and which did not allow other users (eg, ogbad) to execute their jobs. Even after this installation, it was working fine all that Friday 2009/06/05, when the user ogbad was logged in. this user is a member of Local Admin group. however, after (2009/06/05 13:45:02), none of the scheduled jobs executed, neither of exsan ownership, nor of ogbad ownership. i did not use cron-config to install, didn't know about it. here is how i installed it again as Cygwin cron. -- cygrunsrv --stop Cron daemoncygrunsrv --remove Cron daemon # -- did not work cygrunsrv --stop croncygrunsrv --remove cron # -- took it quietly cygrunsrv --stop Cygwin cron cygrunsrv --remove Cygwin cron cygrunsrv -I Cygwin cron -p /usr/sbin/cron -a '-D' -e CYGWIN=ntsec cygrunsrv --start Cygwin cron cron_diagnose.sh #-- asked not to install #-- it found no problems; -- 1. can anyone see please what is locking the cron.pid from (2009/06/05 13:45:02)? 2. do we have to be logged in in order for cron to work? thank you AMN -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: 1.7: Version info about Cygwin
Date: Tue, 9 Jun 2009 16:29:14 -0400 From: l1ee057 Subject: 1.7: Version info about Cygwin Can someone explain the difference in version info between?: * cygcheck -c cygwin * uname -a To wit: Cygwin Package Information Package Version Status cygwin 1.7.0-49 OK \ \ Versus \ CYGWIN_NT-6.0-WOW64 GW1 1.7.0(0.210/5/3) 2009-06-08 22:13 i686 Cygwin Hi All... When I type cygcheck -c cygwin on a clean vista install, I get $ cygcheck -c cygwin Cygwin Package Information cygwin 1.7.0-49 Incomplete cygcheck attached. Thanks, ...Karl _ Windows Live™: Keep your life in sync. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009 Cygwin Configuration Diagnostics Current System Time: Tue Jun 09 14:30:03 2009 Windows Vista Business Ver 6.0 Build 6002 Service Pack 2 Running in Terminal Service session Path: C:\Cygwin\usr\local\bin C:\Cygwin\bin C:\Cygwin\bin C:\Windows\system32 C:\Windows C:\Windows\System32\Wbem C:\Program Files\ATI Technologies\ATI.ACE\Core-Static C:\Program Files\SMARTMonTools\bin C:\Program Files\jZip C:\Program Files\FlexDLL C:\Program Files\GTK+\bin C:\Program Files\Unison C:\Program Files\Common Files\Roxio Shared\DLLShared\ C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared C:\Program Files\QuickTime\QTSystem C:\Program Files\Objective Caml\bin Output from C:\Cygwin\bin\id.exe (nontsec) UID: 1000(username) GID: 513(None) 0(root) 544(Administrators) 545(Users) 513(None) Output from C:\Cygwin\bin\id.exe (ntsec) UID: 1000(username) GID: 513(None) 0(root) 544(Administrators) 545(Users) 513(None) SysDir: C:\Windows\system32 WinDir: C:\Windows USER = 'username' PWD = '/home/username' CYGWIN = 'tty' HOME = '/home/username' TRACE_FORMAT_SEARCH_PATH = '\\NTREL202.ntdev.corp.microsoft.com\4F18C3A5-CA09-4DBD-B6FC-219FDD4C6BE0\TraceFormat' HOMEPATH = '\Users\username' MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man' APPDATA = 'C:\Users\username\AppData\Roaming' HOSTNAME = 'Coyote' TERM = 'cygwin' RoxioCentral = 'C:\Program Files\Common Files\Roxio Shared\10.0\Roxio Central36\' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 15 Stepping 11, GenuineIntel' DFSTRACINGON = 'FALSE' WINDIR = 'C:\Windows' PUBLIC = 'C:\Users\Public' OLDPWD = '/usr/bin' USERDOMAIN = 'COYOTE' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\ProgramData' DevMgr_Show_Nonpresent_Devices = '1' VS90COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio\Common7\Tools\' TEMP = '/c/Users/username/AppData/Local/Temp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' LIB = 'C:\Program Files\GTK+\lib' SSH_AUTH_SOCK = '/home/username/.ssh/ssh-auth-sock' UNISON = 'C:\Users\username\Unison' QTJAVA = 'C:\Program Files\Java\jre6\lib\ext\QTJava.zip' USERNAME = 'username' PROCESSOR_LEVEL = '6' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' USERPROFILE = 'C:\Users\username' PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\COYOTE' PROCESSOR_ARCHITECTURE = 'x86' LOCALAPPDATA = 'C:\Users\username\AppData\Local' !C: = 'C:\Cygwin\bin' ProgramData = 'C:\ProgramData' SHLVL = '1' OCAMLLIB = 'C:\Program Files\Objective Caml\lib' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\Windows\system32\cmd.exe' TMP = '/c/Users/username/AppData/Local/Temp' SYSTEMROOT = 'C:\Windows' PRINTER = 'Microsoft XPS Document Writer' CVS_RSH = 'C:\Cygwin\bin\ssh.exe' PROCESSOR_REVISION = '0f0b' CLASSPATH = '.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:' PROGRAMFILES = 'C:\Program Files' NUMBER_OF_PROCESSORS = '4' INCLUDE = 'C:\Program Files\GTK+\include' COMPUTERNAME = 'COYOTE' _ = '/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin\setup HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gov%2fcygwin%2f HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.gov%2fcygwin%2f\OpenWithList HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'C:\Cygwin' obcaseinsensitive set to 1 c: hd NTFS953866Mb 25% CP CS UN PA FC d: cd N/AN/A C:\Cygwin /system binmode . /system textmode,exec,cygdrive,noacl,posix=0 Found: C:\Cygwin\bin\awk.exe Found: C:\Cygwin\bin\awk.exe - C:\Cygwin\bin\gawk.exe Found: C:\Cygwin\bin\bash.exe Found: C:\Cygwin\bin\bash.exe Found: C:\Cygwin\bin\cat.exe Found: C:\Cygwin\bin\cat.exe Found: C:\Cygwin\bin\cp.exe Found: C:\Cygwin\bin\cp.exe Not Found: cpp (good!) Not Found: crontab
Problem - __imp___iob - do not compile
Hi. I downloading cygwin (full), installed and I configured DEV-CPP how are. I am wearing the Library GMP and compiling in GCC. Just that. I do not manage to compile, I receive the mistake: Undefined reference have `__imp___iob' I am using -lgmp in the LINKER. I searched in the google but did not find anything that solved. How can correct that? Deangelo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: OpenSSH server installation error on Windows Vista Business/Ultimate
Paul August wrote: This what I did: 1. Log on as Administrator. 2. Remove my existing Cygwin directory 3. Download Cygwin Setup to C:\Downloads I download Cygwin Setup to C:\cygwin\setup\setup.exe and packages under C:\cygwin\setup. It probably doesn't matter, but I recall that when I tried to share a single Cygwin setup/ download directory across multiple machines via the network, things broke. Are you trying that? If so, don't -- you want a dedicated Cygwin setup/ download directory for each machine. I think Cygwin Setup stores machine-/ installation-specific metadata in there. 4. Run Cygwin Setup. Accept the default package selections (e.g. base) and also get OpenSSH package. I have found that if I select anything in addition to the base/ default packages on the very first run of Cygwin Setup, things break. So, now I do two (or more) runs of Setup -- the first for base/ defaults *only*, and subsequent runs for additional goodies. Please try again with two passes. 3. Run cygcheck per http://cygwin.com/problems.html and save cygcheck.out. It is attached to this message. Thank you. Perhaps other people will spot a clue in there. HTH, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problem - __imp___iob - do not compile
On 2009-06-10 00:34Z, Lewris wrote: I downloading cygwin (full), installed and I configured DEV-CPP how are. I am wearing the Library GMP and compiling in GCC. Just that. I do not manage to compile, I receive the mistake: Undefined reference have `__imp___iob' If I remember correctly, that's a symbol in the msvc runtime library, and dev-c++ installs MinGW--so I would guess that you have mixed MinGW and Cygwin versions of gcc. That won't work: they are incompatible. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] [1.7] Updated: findutils-4.5.4-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of findutils, 4.5.4-1, is available for those testing cygwin 1.7, leaving 4.5.3-1 as previous, and leaving 4.4.0-3 as current for cygwin 1.5. NEWS: = This is a new upstream release, and uses several new features that have been added in cygwin since the last build. Upstream news is attached. See also /usr/share/doc/findutils/. DESCRIPTION: The findutils package contains programs which will help you locate files on your system. The find utility searches through a hierarchy of directories looking for files which match a certain set of criteria (such as a filename pattern). The xargs utility builds and executes command lines from standard input arguments (usually lists of file names generated by the find command). The locate utility scans a database of filenames and displays matches. The updatedb utility builds the database for locate. UPDATE: === To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'findutils' from the 'Base' category (it should already be selected). DOWNLOAD: = Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. - -- Eric Blake volunteer cygwin findutils maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkovHbEACgkQ84KuGfSFAYAVqACfRmcEcVybVRZ2RuysXqPtgx7m 7EwAn0XUTADqoRBEDAhoJLPA9hB4HAMZ =njCJ -END PGP SIGNATURE- * Major changes in release 4.5.4, 2009-03-10 ** Performance changes The ftsfind executable (which is built by default as find) now calls fts() in such a way that it avoids calling stat() on directory entries, if it doesn't need the information. This can produce a significant speedup on filesystems which don't populate the d_type element of struct dirent, for example reiserfs. Anecdotal evidence suggests this can speed updatedb up from about 30 minutes to 3-4 minutes. The ftsfind executable also now avoids calling stat() functions to discover the inode number of a file, if we already read this information from the directory. This does provide a speed-up, but only for a restricted set of commands such as find . -inum 4001. This fix is listed below as bug #24342. ** Bug Fixes #25764: remove duplicate entry for 'proc' in updatedb's $PRUNEFS. #25359: find -H wrongly behaves like -L sometimes; this bug affects only filesystems which populate d_type and affects -type and -printf %y. This does not affect the default behaviour of find or find -P. #25144: Misleading error message when argument to find -user is an unknown user or is missing. #25154: Allow compilation with C compilers that don't allow declarations to follow statements. #24342: -inum predicate shoud use dirent.d_ino instead of stat.st_ino (this is a performance bug). ** Translations Updated translations for Bulgarian, German, Irish, Hungarian, Lithuanian, Dutch, Polish, Slovenian, Swedish, Turkish, Ukranian, Vietnamese. ** Documentation Changes The file README-CVS has been renamed to README-hacking and improved. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
backup XP on Linux using rsync over ssh: permissions problems
Hello, I have a XP Pro laptop which has Cygwin installed (with ssh). I run a backup script on a Debian box which rsyncs some directories from XP box to a partition on Debian box using rsync via ssh. The command is something like (rsync script is called as root on Debian and user root on the XP box is an admin as well): rsync --delete --modify-window=10 --force -Rvaue ssh --exclude-from=$EXCLUDESFILE --progress \ xp-box:/cygdrive/c/Documents\ and\ Settings/user1 /cygdrive/c/Documents\ and\ Settings/user2 /mnt/backups/xp-daily-00; The problem is that uid and gid are different for the users on the XP box and on the Debian box. When a user browses the backups from XP using ssh (sftp actuall) on Debian box, he is denied permissions. What do Cygwin users do in this case? What I desire is that the backups of the XP box be kept on the Debian box with all users' permissions intact (or as much as possible, for security and privacy). Thanks. -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
setup-1.7 (2.627) and/or cygwin-1.7.0-49
Using the recently announced setup-1.7 update, and a local mirror in which I added a fake package with requires: specifying all my favorite packages, I again attempted a clean install. I did this to verify that recent problems (e.g. with %HOME% set and pre-existing .dotfiles) no longer cause issues. They don't, so that's good. [[[ KEY POINT: the new setup-1.7 does, in fact, suppress reading the user's ~/.dotfiles and avoids the errors that those ~/.dotfiles can cause in new installations. Thanks, Corinna! ]]] However, the installation was still a bit bolluxed -- mostly the postinstall scripts still don't run correctly. Windows XP Pro, domain member, %HOME% = H:\ which is an SMB share mounted to that drive letter. Here's a relevant snippet from setup.log.full. It 2009/06/09 14:36:48 Starting cygwin install, version 2.627 2009/06/09 14:36:48 Current Directory: C:\TEMP\cygwin-mirror 2009/06/09 14:36:48 User has backup/restore rights 2009/06/09 14:36:48 Changing gid to Administrators ... 2009/06/09 14:50:21 Extracting from file://C:\TEMP\cygwin-mirror/release-2/zlib/zlib0/zlib0-1.2.3-10.tar.bz2 Installing file cygfile:///usr/bin/cygz.dll 2009/06/09 14:50:21 Changing gid back to original Visited: 447 nodes out of 1422 while creating dependency order. Dependency order of packages: aalib aalib aalib-devel alternatives base-passwd base-cygwin cygwin libX11_6 libICE6 libSM6 [... snipped ...] xsri xterm zip zlib-devel fake 2009/06/09 14:50:22 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/aalib.sh 2009/06/09 14:50:33 can't run /etc/postinstall/aalib.sh: No such file [[[ uh, what? if the file doesn't exist, how did setup know to run it? ]]] 2009/06/09 14:50:33 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/passwd-grp.sh /bin/chgrp: invalid group: `root' /bin/chgrp: invalid group: `root' 2009/06/09 14:50:34 abnormal exit: exit code=1 [[[ so, I had no /etc/passwd or /etc/group, because THIS is the script that's supposed to create them. Why is IT complaining about missing the root group? Either go ahead and add that group to /etc/group, or don't try to use it in a chgrp command... ]]] 2009/06/09 14:50:34 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/000-cygwin-post-install.sh 2009/06/09 14:50:35 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/00ash.sh 10 [main] bash 6256 read_flags: invalid fstab option - '0' 1540 [main] bash 6256 read_flags: invalid fstab option - '0' [[[ Well now, that's just wierd. I had no pre-existing /etc/fstab or /etc/fstab.d/$USER. So, if there are complaints about the contents of the default-generated ones, then maybe /etc/postinstall/passwd-grp.sh is not doing it correctly? ]]] 2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/autoconf.sh 9 [main] bash 7984 read_flags: invalid fstab option - '0' 1400 [main] bash 7984 read_flags: invalid fstab option - '0' 2009/06/09 14:50:36 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/m4.sh 9 [main] bash 11008 read_flags: invalid fstab option - '0' 1248 [main] bash 11008 read_flags: invalid fstab option - '0' [... snipped ...] 2009/06/09 14:51:27 running: C:\cygwin-1.7\bin\bash.exe --norc --noprofile -c /etc/postinstall/fake-bash.sh 9 [main] bash 3972 read_flags: invalid fstab option - '0' 1518 [main] bash 3972 read_flags: invalid fstab option - '0' inner: hB /etc/postinstall/fake-bash.sh shopt -u cdable_vars shopt -u cdspell ... shopt -u restricted_shell shopt -u shift_verbose shopt -s sourcepath shopt -u xpg_echo 1 1 1 1 SHELLOPTS=braceexpand:hashall:interactive-comments BASH_ENV= ENV= end inner 2009/06/09 14:51:27 Changing gid to Administrators 2009/06/09 14:51:29 note: Installation Complete 2009/06/09 14:51:29 Ending cygwin install Versions involved: base-passwd-3.0-1.tar.bz2 base-cygwin-1.4-1.tar.bz2 base-files-3.7-1.tar.bz2 cygwin-1.7.0-49.tar.bz2 ash-20040127-3.tar.bz2 bash-3.2.48-21.tar.bz2 coreutils-6.12-2.tar.bz2 Hmmm...waitaminute. That version number looks odd...yep, coreutils ought to be 7.0-2. Maybe the others are scrogged too... base-passwdshould be 3.1-1 base-cygwinshould be 2.0-1 base-files should be 3.8-3 Ok, never mind. Somehow I got a bunch of bad versions. No idea how -- but obviously these versions are NOT going to work with cygwin-1.7.0-XX going forward. Maybe they should be removed from the release-2/ area? Anyway, I'll clean up my mirror (e.g. keep only current versions) and try again tomorrow. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: backup XP on Linux using rsync over ssh: permissions problems
On 2009-06-10 03:36Z, H.S. wrote: rsync --delete --modify-window=10 --force -Rvaue ssh --exclude-from=$EXCLUDESFILE --progress \ xp-box:/cygdrive/c/Documents\ and\ Settings/user1 /cygdrive/c/Documents\ and\ Settings/user2 /mnt/backups/xp-daily-00; Does '-p' ('--perms') help with the permissions problems? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[1.7] Updated: findutils-4.5.4-1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A new release of findutils, 4.5.4-1, is available for those testing cygwin 1.7, leaving 4.5.3-1 as previous, and leaving 4.4.0-3 as current for cygwin 1.5. NEWS: = This is a new upstream release, and uses several new features that have been added in cygwin since the last build. Upstream news is attached. See also /usr/share/doc/findutils/. DESCRIPTION: The findutils package contains programs which will help you locate files on your system. The find utility searches through a hierarchy of directories looking for files which match a certain set of criteria (such as a filename pattern). The xargs utility builds and executes command lines from standard input arguments (usually lists of file names generated by the find command). The locate utility scans a database of filenames and displays matches. The updatedb utility builds the database for locate. UPDATE: === To update your installation, click on the Install Cygwin now link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Save it and run setup, answer the questions and pick up 'findutils' from the 'Base' category (it should already be selected). DOWNLOAD: = Note that downloads from sources.redhat.com (aka cygwin.com) aren't allowed due to bandwidth limitations. This means that you will need to find a mirror which has this update, please choose the one nearest to you: http://cygwin.com/mirrors.html QUESTIONS: == If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. - -- Eric Blake volunteer cygwin findutils maintainer CYGWIN-ANNOUNCE UNSUBSCRIBE INFO: = To unsubscribe to the cygwin-announce mailing list, look at the List-Unsubscribe: tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkovHbEACgkQ84KuGfSFAYAVqACfRmcEcVybVRZ2RuysXqPtgx7m 7EwAn0XUTADqoRBEDAhoJLPA9hB4HAMZ =njCJ -END PGP SIGNATURE- * Major changes in release 4.5.4, 2009-03-10 ** Performance changes The ftsfind executable (which is built by default as find) now calls fts() in such a way that it avoids calling stat() on directory entries, if it doesn't need the information. This can produce a significant speedup on filesystems which don't populate the d_type element of struct dirent, for example reiserfs. Anecdotal evidence suggests this can speed updatedb up from about 30 minutes to 3-4 minutes. The ftsfind executable also now avoids calling stat() functions to discover the inode number of a file, if we already read this information from the directory. This does provide a speed-up, but only for a restricted set of commands such as find . -inum 4001. This fix is listed below as bug #24342. ** Bug Fixes #25764: remove duplicate entry for 'proc' in updatedb's $PRUNEFS. #25359: find -H wrongly behaves like -L sometimes; this bug affects only filesystems which populate d_type and affects -type and -printf %y. This does not affect the default behaviour of find or find -P. #25144: Misleading error message when argument to find -user is an unknown user or is missing. #25154: Allow compilation with C compilers that don't allow declarations to follow statements. #24342: -inum predicate shoud use dirent.d_ino instead of stat.st_ino (this is a performance bug). ** Translations Updated translations for Bulgarian, German, Irish, Hungarian, Lithuanian, Dutch, Polish, Slovenian, Swedish, Turkish, Ukranian, Vietnamese. ** Documentation Changes The file README-CVS has been renamed to README-hacking and improved.