It seems that
nohup don't work correctly together.
I did this:
$ umask 022 $ nohup java -jar blah.jar &  12345 nohup: ignoring input and appending output to `nohup.out' $ ls -l nohup.out -rw-------. 1 juser juser 41242 Jun 27 11:07 nohup.out
Any idea why? Is it
nohup that forces 600 ignoring
umask settings? How can I get
nohup.out to be created with 644 permissions instead than 600? OK, I can do a
chmod 644 nohup.out, but I'd prefer a "clean" approach.
My shell is bash, my OS is CentOS 7.