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: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-5


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

Attachment: pgp7pwB6ID9wz.pgp
Description: PGP signature


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