From 324e8fbc72731964cf37fb86f61feadac80af838 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Sun, 19 Feb 2017 18:41:13 +0100 Subject: [PATCH] make-automaps: Use umask 022 If we create a new map we want it world readable. --- make-automaps/make-automaps | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make-automaps/make-automaps b/make-automaps/make-automaps index 22a4d8b..41a4168 100755 --- a/make-automaps/make-automaps +++ b/make-automaps/make-automaps @@ -87,6 +87,8 @@ sub create_pkg_map { } } +umask 022; + -d "/etc/automount" or mkdir("/etc/automount") or die "/etc/automount: $!\n"; convert_map('/etc/amd/amd.jbod','/etc/automount/auto.jbod',\&parse_jbod_line);