From 52ebb41690d523dc40fcbc0424008cbc38ef26f4 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Mon, 29 Nov 2010 13:37:53 -0500 Subject: [PATCH] apt_conf: change mode to 644 Current mode (600) makes it impossible to use apt-cache to search for package names and info, since it tries to read all configuration files in /etc/apt/apt.conf.d before executing. Change configuration file mode to 644 so that search tasks can be made without root priviledge. --- manifests/apt_conf.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/apt_conf.pp b/manifests/apt_conf.pp index 62e4377..cce0e6e 100644 --- a/manifests/apt_conf.pp +++ b/manifests/apt_conf.pp @@ -13,7 +13,7 @@ define apt::apt_conf( file { "/etc/apt/apt.conf.d/${name}": ensure => $ensure, notify => Exec["refresh_apt"], - owner => root, group => 0, mode => 0600; + owner => root, group => 0, mode => 0644; } if $source {