X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.5 required=5.0 tests=AWL,BAYES_00,BOTNET,FB_WORD1_END_DOLLAR,SARE_OEM_WIN_DOL,WEIRD_PORT X-Spam-Check-By: sourceware.org Message-id: <02f901caabf6$b4497d20$7b00a8c0@wirelessworld.airvananet.com> From: "Pierre A. Humblet" To: References: <010601caaaca$58aa1e20$7b00a8c0 AT wirelessworld DOT airvananet DOT com> <4B73894B DOT 4060306 AT tpg DOT com DOT au> <014d01caab1d$bed91720$7b00a8c0 AT wirelessworld DOT airvananet DOT com> <20100211134116 DOT GM28659 AT calimero DOT vinschen DOT de> <01a301caab2a$1c496a70$7b00a8c0 AT wirelessworld DOT airvananet DOT com> <20100211151748 DOT GN28659 AT calimero DOT vinschen DOT de> <01ef01caab42$ed7a31c0$7b00a8c0 AT wirelessworld DOT airvananet DOT com> <20100211185214 DOT GS28659 AT calimero DOT vinschen DOT de> <027b01caab6e$2dc88a30$7b00a8c0 AT wirelessworld DOT airvananet DOT com> <20100212100958 DOT GU28659 AT calimero DOT vinschen DOT de> Subject: Re: cron & Windows 7 Date: Fri, 12 Feb 2010 10:19:00 -0500 MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ----- Original Message ----- From: "Corinna Vinschen" To: Sent: Friday, February 12, 2010 5:09 | On Feb 11 18:01, Pierre A. Humblet wrote: | > ----- Original Message ----- | > From: "Corinna Vinschen" | > To: | > Sent: Thursday, February 11, 2010 13:52 | > | | > | Uh oh. Is the name of the BUILTIN group not BUILTIN on non-English | > | systems? If so, the code in get_user_local_groups must be changed to | > | emit the correct name, rather than just storing the fixed string | > | "BUILTIN\\" in builtin_grp. | > | > Will do, this weekend at the latest. Matthias did a preliminary test on Win 7. | > I learned that in German BUILTIN is VORDEFINIERT :) | > I wonder if the translation is a Win 7 feature or if has been there all the time. | | I think it was always there, but I'm not sure. It's hard to believe that the bug has always been there on foreign machines... A few other things: 1) I had the feeling that we have already discussed this in the past. Take a look at http://www.cygwin.com/ml/cygwin-patches/2002-q4/msg00255.html (last line). Thanks to google :) 2) About http://cygwin.com/ml/cygwin/2010-01/msg00334.html USERS is already always added to the token. It's done in get_token_group_sidlist. This raises the possibility that fixing the language problem won't fix the current bugs were user32 can't be loaded, and also with ws2_32.dll in your message 3) There is another major bug: scripts don't get executed while impersonated. The problem is in access. cron has setuid and tries to run sendmail ==> /bin/cronlog 502 3438682 [main] cron 4000 av::fixup: C:\Program Files\cygwin_1.7\bin\cronlog is possibly a script 1832 3440514 [main] cron 4000 seterrno_from_win_error: ../../../../src/winsup/cygwin/security.cc:766 windows erro$ 61 3440575 [main] cron 4000 geterrno_from_win_error: windows error 6 == errno 9 21 3440596 [main] cron 4000 __set_errno: void seterrno_from_win_error(const char*, int, DWORD):319 val 9 21 3440617 [main] cron 4000 check_file_access: flags 1, ret -1net helpmsg 6 net helpmsg 6 The handle is invalid. I will get to it but if you have an idea let me know. 4) Finally I noticed that perl doesn't run with the cygwin0.dll I built in cvs (last nite). Not sure if you see that too. Pierre -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple