[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5
Jon TURNEY
jon.turney@dronecode.org.uk
Fri Apr 17 11:29:00 GMT 2015
On 16/04/2015 17:21, Corinna Vinschen wrote:
> Btw., it would be nice to know why XWin tries to chown a file.
> Jon?
This seems to be in trans_mkdir() in libxtrans [1], which tries to make
sure that /tmp/.X11-unix (the directory in which the server's
unix-domain sockets are created) is owned by uid 0, gid 0.
[1] http://cgit.freedesktop.org/xorg/lib/libxtrans/tree/Xtransutil.c#n591
> $ gdb XWin
> [...]
> Reading symbols from XWin...Reading symbols from /usr/lib/debug//usr/bin/XWin.exe.dbg...done.
> done.
> (gdb) b fchown
> Breakpoint 1 at 0x10057aa80
> (gdb) r
> Starting program: /usr/bin/XWin
> Breakpoint 1, 0x000000010057aa80 in fchown ()
> (gdb) bt
> #0 0x000000010057aa80 in fchown ()
> #1 0x0000000100573bac in trans_mkdir (mode=1023, path=0x1005b47c8 <__func__.16196+2499> "/tmp/.X11-unix") at /usr/include/X11/Xtrans/Xtransutil.c:591
> [...]
--
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
More information about the Cygwin
mailing list