Skip to content

Commit

Permalink
make-automaps: Use umask 022
Browse files Browse the repository at this point in the history
If we create a new map we want it world readable.
  • Loading branch information
donald committed Feb 19, 2017
1 parent fc1f6f0 commit 324e8fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make-automaps/make-automaps
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 324e8fb

Please sign in to comment.