This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron & Windows 7


----- Original Message ----- 
From: "Corinna Vinschen"
To: <cygwin>
Sent: Friday, February 12, 2010 5:09
| On Feb 11 18:01, Pierre A. Humblet wrote:
| > ----- Original Message ----- 
| > From: "Corinna Vinschen"
| > To: <cygwin@cygwin.com>
| > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]