diff --git a/smartmontools/CHANGELOG b/smartmontools/CHANGELOG index 5540f0d16e92c4c1250905dfaab45f4bddc3a4be..682a6f40505d67275c1a863ecc0271b0bba4f2e6 100644 --- a/smartmontools/CHANGELOG +++ b/smartmontools/CHANGELOG @@ -42,6 +42,8 @@ NOTES FOR FUTURE RELEASES: see TODO file. <DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE> + [MS] smartd.cpp: Adjust umask + [CF] Makefile.am: Remove 'uninstall-docsDATA' target to fix 'make distcheck' with automake 1.11. The 'make uninstall' of examplescripts fails if docdir does no longer exist. diff --git a/smartmontools/smartd.cpp b/smartmontools/smartd.cpp index 794aef55e4d2770344c79e4c9adc5f188d280458..cc4792ce6600e063f79b5f537253857ad1f3300d 100644 --- a/smartmontools/smartd.cpp +++ b/smartmontools/smartd.cpp @@ -1281,7 +1281,7 @@ void DaemonInit(){ // stderr NO_warn_unused_result(dup(i)); }; - umask(0); + umask(0022); NO_warn_unused_result(chdir("/")); if (do_fork)