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.
This commit is contained in:
parent
6596641bb1
commit
52ebb41690
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue