Discussion:
/etc/localtime isn't world readable
Jean-Francois Veillette
2003-11-10 14:27:54 UTC
Permalink
Hi,

I wonder why /etc/localtime isn't world readable in the Fedora Core
distribution. Let say you put your hardware clock in UTC and your computer
is set to whatever timezone. Then by default, when you log as a user
gnome/kde clock applet display time as UTC because /etc/localtime isn't
readable. Is tbere a security issue about this file being world readable.

Jean-Francois Veillette

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !
http://messenger.fr.msn.ca/
Alexandre Oliva
2003-11-10 17:40:46 UTC
Permalink
Post by Jean-Francois Veillette
I wonder why /etc/localtime isn't world readable in the Fedora Core
distribution.
Err... It is for me. And I think it has to be.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
Paul Gear
2003-11-11 11:17:02 UTC
Permalink
Post by Alexandre Oliva
Post by Jean-Francois Veillette
I wonder why /etc/localtime isn't world readable in the Fedora Core
distribution.
Err... It is for me. And I think it has to be.
I've seen this bug appear after using timeconfig if root's umask was not
022 or something similar. (I always set it to 027, and i've had several
problems caused by this.)
--
Paul
http://paulgear.webhop.net
--
A: Because we read from top to bottom, left to right.
Q: Why should i start my email reply *below* the quoted text?
Ulrich Drepper
2003-11-11 22:52:21 UTC
Permalink
Post by Jean-Francois Veillette
I wonder why /etc/localtime isn't world readable in the Fedora Core
distribution.
Try the patch in bz #109803.

- --
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
Jean-Francois Veillette
2003-11-12 03:32:42 UTC
Permalink
the patch works just fine.
Jean-Francois Veillette
Subject: Re: /etc/localtime isn't world readable
Date: Tue, 11 Nov 2003 14:52:21 -0800
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Post by Jean-Francois Veillette
I wonder why /etc/localtime isn't world readable in the Fedora Core
distribution.
Try the patch in bz #109803.
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://fr.ca.search.msn.com/

Loading...