Package: system-tools-backends
Version: 1.4.2-1
Severity: normal

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.

-jim

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.2
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to