diff --git a/mtce/centos/build_srpm.data b/mtce/centos/build_srpm.data index 41f9cbb7..80bd36f0 100644 --- a/mtce/centos/build_srpm.data +++ b/mtce/centos/build_srpm.data @@ -1,3 +1,3 @@ SRC_DIR="src" -TIS_PATCH_VER=152 +TIS_PATCH_VER=153 BUILD_IS_SLOW=5 diff --git a/mtce/src/mtclog/mtclog.cpp b/mtce/src/mtclog/mtclog.cpp index 38c33e15..46f915ab 100644 --- a/mtce/src/mtclog/mtclog.cpp +++ b/mtce/src/mtclog/mtclog.cpp @@ -251,7 +251,10 @@ void daemon_service_run ( void ) /* The CONFIG_COMPLETE file may be empty so don't look at size, * look at the node and dev ids as non-zero instead */ } while ((p.st_ino == 0 ) || (p.st_dev == 0)) ; - + + /* Set umask for the log files that will be created */ + umask(027); + /* Run daemon main loop */ for ( ; ; ) {