CVSROOT:        /cvs/gnome
Module name:    NetworkManager
Changes by:     rml     06/05/05 15:41:50

Modified files:
        .              : Tag: NETWORKMANAGER_0_6_0_RELEASE ChangeLog 
        src            : Tag: NETWORKMANAGER_0_6_0_RELEASE 
                         NetworkManager.c 

Log message:
2006-05-05  Robert Love  <[EMAIL PROTECTED]>

* src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
root has a wacky default of its own (or, more common, a user has a
bad umask and uses su/sudo to restart NetworkManager).  Anything other
than 0022 does not do what we want with, for example, resolv.conf.  This
problem is amplified by our judicious use of fopen(), which uses mode
0666 -- implying that the only way to get the permissions we want is
with a umask of 0022.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=NetworkManager&who=rml&date=explicit&mindate=2006-05-05%2015:40&maxdate=2006-05-05%2015:42

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to