• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Invoke Java code from Korn script and UNIX env setting

 
Raj Ohadi
Ranch Hand
Posts: 316
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
not if the JVM is started from the same environment that exists within the script where the umask is set.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic