gdm2 r4870 - in trunk: . daemon



Author: bcameron
Date: 2007-04-24 07:02:29 +0100 (Tue, 24 Apr 2007)
New Revision: 4870
ViewCVS link: http://svn.gnome.org/viewcvs/gdm2?rev=4870&view=rev

Modified:
   trunk/ChangeLog
   trunk/daemon/auth.c
   trunk/daemon/gdm.c
   trunk/daemon/misc.c
   trunk/daemon/misc.h
Log:
2007-04-24  Brian Cameron  <brian cameron sun com>

        * daemon/misc.[ch], daemon/auth.c, daemon/misc.c: Be more clever
          about setting umask.  Now gdm_safe_fopen_w and gdm_safe_fopen_ap
          takes a perm argument so that the open can specify the mode
          rather than having to use umask to cause the mode to be set
          properly.  In daemon/auth.c, no longer set umask to 022
          immediately before calling "goto try_user_add_again" since
          the umask is reset to 077 right after the goto label.  Patch
          by Peter Baumann <waste manager gmx de>.  Partially fixes
          bug #305931.





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