[Bug 419516] New: time-conf sets incorrect permissions on /etc/localtime

gnome-system-tools (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Mar 17 22:40:15 CET 2007

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at

  gnome-system-tools | s-t-b | Ver: 1.4.x

           Summary: time-conf sets incorrect permissions on /etc/localtime
           Product: gnome-system-tools
           Version: 1.4.x
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: s-t-b
        AssignedTo: carlos at imendio.com
        ReportedBy: sa at whiz.se
                CC: pkg-gnome-maintainers at lists.alioth.debian.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified

This bug was reported to the Debian BTS.

"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."

Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email

More information about the Pkg-gnome-maintainers mailing list