-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
I know I'm a bit late, but... André Warnier wrote: > André Warnier wrote: >> epicwin...@hotmail.com wrote: >>> You are correct, I found a setting that relaxes the group access >>> permissions on the jailkit. Now I just have one more problem. When >>> tomcat creates files in these user directories I need the permissions >>> to be set appropriately. What is the best way to set the umask value >>> when running tomcat using jsvc? > > Replying to myself : upon further reflection, I am not even sure that > Java would have a method to do this, since it is supposed to be > platform-independent, and setting filesystem permissions and group > ownership is rather on the platform-dependent side. Correct: Java does not provide any permissions-adjusting behavior except things like "read-only" through the java.io.File class. On the other hand, the umask of the JVM process should be whatever the umask was for the shell that started it. So, if the umask is 022, you should get files that are readable by anyone. Is that not what you are experiencing, epicwinter? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEUEARECAAYFAkmLZ8wACgkQ9CaO5/Lv0PCsqwCY32MByPxZLRu6dtyVq5+HD2tK DQCfWHH4qrLiOO2sO7wkHYeYZ66h3hU= =Enfl -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org