This is the mail archive of the
mailing list for the Cygwin project.
running MS link.exe under Cygwin sshd?
- From: Jay K <jay dot krell at cornell dot edu>
- To: cygwin <cygwin at cygwin dot com>
- Date: Sat, 1 Aug 2009 04:50:15 +0000
- Subject: running MS link.exe under Cygwin sshd?
This issue is caused because cygwin does not implement a full login process. It tries to impersonate, but it looks to me as if it does not make the necessary call to LsaLogonUser. As a result, the wrong SID is in the token as the primary user. According to filemon, the debug server calls into secur32, which suggests that it is doing interpretive access control. It finds the service's SID instead of the users SID in some slot in the token that it gets via RPC, and then everything goes downhill from there.Why VS feels the need to put the PDB access in a separate process under separate access rights is very puzzling, but there it is.
Bug in Cygwin sshd?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple