-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
RHEL 5.4
Hello,
When running hudson via winstone as below.
/usr/lib/jvm/java-1.6.0/bin/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DHUDSON_HOME=/var/lib/hudson -jar /usr/lib/hudson/hudson.war --logfile=/var/log/hudson/hudson.log --daemon --httpPort=8080 --debug=9 --handlerCountMax=100 --handlerCountMaxIdle=20
The umask of all the files created are set as 027 rather than the user who invokes the processes umask.
For example a user with a umask of 022 runs hudson and a job and all the resulting files are set to 027.
This is because the Daemon.java file that is part of akuma has a call to
LIBC.umask(0027);
Please can this be made user configurable or use the inherent umask of the running user.
Thanks
Steve Goodliff
[JENKINS-5114] hardcoded umask in com.sun.akuma/Daemon.java
Component/s | New: core [ 15593 ] | |
Description |
Original:
Hello, When running hudson via winstone as below. /usr/lib/jvm/java-1.6.0/bin/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DHUDSON_HOME=/var/lib/hudson -jar /usr/lib/hudson/hudson.war --logfile=/var/log/hudson/hudson.log --daemon --httpPort=8080 --debug=9 --handlerCountMax=100 --handlerCountMaxIdle=20 The umask of all the files created are set as 027 rather than the user who invokes the processes umask. For example a user with a umask of 022 runs hudson and a job and all the resulting files are set to 027. This is because the Daemon.java file that is part of akuma has a call to LIBC.umask(0027); Please can this be made user configurable or use the inherent umask of the running user. Thanks Steve Goodliff |
New:
Hello, When running hudson via winstone as below. /usr/lib/jvm/java-1.6.0/bin/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DHUDSON_HOME=/var/lib/hudson -jar /usr/lib/hudson/hudson.war --logfile=/var/log/hudson/hudson.log --daemon --httpPort=8080 --debug=9 --handlerCountMax=100 --handlerCountMaxIdle=20 The umask of all the files created are set as 027 rather than the user who invokes the processes umask. For example a user with a umask of 022 runs hudson and a job and all the resulting files are set to 027. This is because the Daemon.java file that is part of akuma has a call to LIBC.umask(0027); Please can this be made user configurable or use the inherent umask of the running user. Thanks Steve Goodliff |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 135198 ] | New: JNJira + In-Review [ 186942 ] |