[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#424681: tzdata: /etc/localtime installed with insufficient permissions



Package: tzdata
Version: 2007b-1
Severity: normal
Tags: l10n


On my system, I'm using a umask of 027 set via the /etc/login.defs
file.  Probably because of this setting (I did not try without
it), /etc/localtime gets installed with a mode of 640, i.e. normal
users can not read that file.  As a result, every user but root
has the time displayed as stored in the hardware clock, not in
local time as it should be.  Actually, I have the hw clock set to
UTC and the timezone "Europe/Berlin", and when it's 20:00 the date
command says it's 18:00.

Configuration:

/etc/login.defs:

  UMASK           027

/etc/default/rcS:

  TMPTIME=0
  SULOGIN=no
  DELAYLOGIN=yes
  UTC=yes             <----
  VERBOSE=yes
  FSCKFIX=no
  RAMRUN=no
  RAMLOCK=no

ls -l /etc/localtime:

  -rw-r----- 1 root root 837 2007-04-12 20:58 /etc/localtime
        ^^^

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

-- debconf-show failed



Reply to: