Permalink
Browse files

stop moving the current directory and changing the default umask

  • Loading branch information...
calavera committed Dec 1, 2010
1 parent aa8c624 commit bfd41ada2922d8de9bcd71a14928dfcb46dd781e
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/com/sun/akuma/Daemon.java
@@ -135,9 +135,9 @@ public void init(String pidFile) throws Exception {
closeDescriptors();
// restrict the creation mode to 750 (octal)
- LIBC.umask(0027);
+ //LIBC.umask(0027);
- chdirToRoot();
+ //chdirToRoot();
if (pidFile != null) writePidFile(pidFile);
}

0 comments on commit bfd41ad

Please sign in to comment.