| Author |
Invoke Java code from Korn script and UNIX env setting
|
Raj Ohadi
Ranch Hand
Joined: Jun 30, 2006
Posts: 314
|
|
My unix script calls a java class which write files to some directories. In my unix script if I set the environment variable "umask" to a certain value, will the file(s) generated by Java class follow the same umask setting we set in the script ? i.e. will the umask setting get lost ?
|
 |
Mr. C Lamont Gilbert
Ranch Hand
Joined: Oct 05, 2001
Posts: 1170
|
|
|
not if the JVM is started from the same environment that exists within the script where the umask is set.
|
 |
 |
|
|
subject: Invoke Java code from Korn script and UNIX env setting
|
|
|