GNOME Bugzilla – Bug 419516
time-conf sets incorrect permissions on /etc/localtime
Last modified: 2008-01-08 01:07:32 UTC
This bug was reported to the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380600 "The script /usr/share/setup-tool-backends/scripts/time-conf does not properly set the permissions of /etc/localtime when creating it in &time_set_rh62_zone. Instead, it follows the umask of the process. This is easy to reproduce with time-admin from gnome-system-tools: $ ( umask 077 ; time-admin ) Change the timezone in time-admin and notice how /etc/localtime is now owned by root and mode 600, making it useless for the rest of the users on the system. Other files like /etc/ntp.conf might be affected too, but I haven't checked."
This can't happen since gnome-system-tools uses system-tools-backends >= 2.0.x, as the backends aren't spawned from the frontend anymore