[ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Apr 17 12:13:00 GMT 2015


On Apr 17 12:29, Jon TURNEY wrote:
> 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.

Yep, that is in line with the observation.  Thanks for confirming.
Such an fchown is bound to fail, of course, but it did so before and
XWin didn't gripe, so I assume it doesn't check the return value.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150417/9ba0643b/attachment.sig>


More information about the Cygwin mailing list