You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2010/10/16 13:31:48 UTC

svn commit: r1023255 - /commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c

Author: mturk
Date: Sat Oct 16 11:31:48 2010
New Revision: 1023255

URL: http://svn.apache.org/viewvc?rev=1023255&view=rev
Log:
Log the effective umask

Modified:
    commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c

Modified: commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c?rev=1023255&r1=1023254&r2=1023255&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c (original)
+++ commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Sat Oct 16 11:31:48 2010
@@ -1035,7 +1035,7 @@ int main(int argc, char *argv[])
     }
     envmask = umask(JSVC_UMASK);
     set_output(args->outfile, args->errfile, args->redirectstdin, args->procname);
-
+    log_debug("Switching umask back to %03o from %03o", envmask, JSVC_UMASK);
     res = run_controller(args, data, uid, gid);
     if (logger_pid != 0) {
         kill(logger_pid, SIGTERM);