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

Bug#413151: tzdata: /etc/localtime is created non-readable



reassign 413151 dpkg
retitle 413151 dpkg: dpkg does not set umask correctly
thanks

Glenn Wurster a écrit :
> Package: tzdata
> Version: 2006p-1
> Severity: important
> Tags: patch
> 
> The postinstall script for tzdata creates the /etc/localtime file with
> permissions 0600 which prevents users of the system from determining
> the localtime.  The attached patch ensures that after copying the
> timezone information file to /etc/localtime the permissions are set
> such that users of the system can access the file.  This happens
> because the umask is set to 0066 when the file is created.
> 

This is the job of dpkg to ensure that umask is set correctly when
running postinst script.

Reassigning the bug.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: