On Feb 7 14:01, Shaddy Baddah wrote:
I'm sorry, I have abandoned inspect what the issue with cygserver is
because I've realised what the real situation is. int
fhandler_tty_slave::open (int, mode_t) needs to call OpenProcess
with PROCESS_DUP_HANDLE on the tty master process. When logged in
via ssh, this is the dedicated sshd process still owned by
cyg_server.
Huh? That's not how you explained the situation originally. IIUYC, the
situation is that a desktop user created a screen session and then the
same user trying to connect to the screen session from a ssh session
gets a permission denied. In that case, the screen application is the
pty master and when trying to connect from the ssh session, it has to
open the screen process.