Now I have a Java app which creates files. Everything works as espected but the created files get the wrong file permissions. The user which uses the app has the following attributes: NAME: patrick GROUP: users UMASK: 022 creating the file Test.dat in the directory /Test with the following attributs drwxrwxr-x 4 interbas users 4096 Aug 1 10:06 Test results in a file with the following attributes -rw-r--r-- 1 patrick users 21 Aug 1 10:06 Test.dat I would like to get the files created by the app editable by the users group, is the described behaviour correct or is it a limitation of the Java VMs (tested with Suns and IBMs jdk1.3)? I have to say my Linux experiences aren't as deep but I don't really think I have to use chmod every time after a file get's created by an app. Even I wouldn't like to use JNI in the java app to do it. What should I do, PLEASE help, this is critical for starting deployment of our app under linux platform. thanks Patrick p.s. please replay also to my mail address -- ----------------------------------------------------- Save software competition, use Linux and Java! mailto:[EMAIL PROTECTED] Visit the official HomePage of the first LinuxUserGroup in Southtyrol http://www.lugbz.org ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]