b69633c
--- apmd-3.2.2.orig/apmd.c.sec	2004-04-30 00:29:47.000000000 -0400
b69633c
+++ apmd-3.2.2.orig/apmd.c	2005-03-16 16:26:47.000000000 -0500
b69633c
@@ -1190,7 +1190,6 @@
b69633c
 	close(1);
b69633c
 	if (verbosity < LOG_DEBUG)
b69633c
 		close(2);
b69633c
-	umask(0);
b69633c
 
b69633c
 	apmd_fd = open(APM_DEVICE, O_RDWR);
b69633c
 	if (apmd_fd < 0) {