After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 419516 - time-conf sets incorrect permissions on /etc/localtime
time-conf sets incorrect permissions on /etc/localtime
Status: RESOLVED OBSOLETE
Product: gnome-system-tools
Classification: Deprecated
Component: s-t-b
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2007-03-17 21:38 UTC by Sven Arvidsson
Modified: 2008-01-08 01:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Arvidsson 2007-03-17 21:38:06 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."
Comment 1 Carlos Garnacho 2008-01-08 01:07:32 UTC
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