[gdm-list] Why do GDM 2.22.0 set xauth file owner as login user



Hi,

On GDM 2.22.0, I noticed the owner of X authority file is set as login
user.

-rw-------    1 gdm      gdm            52 May 21 23:27
auth-cookie-XX37TRBU-for-gdm
-rw-------    1 zheng    other          52 May 21 23:28
auth-cookie-XX5YOJBU-for-zheng

Looking into source, X authority file is forced to set as login user
when launching Xserver. On older V2.20, it's "root:root". Since Xorg
process is run as root, why do we need this special setting. Might be I
miss something. I'm confused where requires this setting. Any answer?

Thanks,
-simon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]