5 Replies Latest reply: Mar 31, 2009 8:03 AM by 800308 RSS

    File write permission

    807588
      Hi,

      I am writing a java application which have a module that have the functionality of writing something to a file. I have created an installer for my application and it works fine. I am able to create , modify and read the file using the application.

      The issue is once I created and modifed a file logging in as say user1, I am unable to access the same file when I tried to modify it using the same application by logging in as different user say user2. It tells user2 don't have the permission to write to the file.

      How can I fix the issue? Is it possible to give permission to a file which I am creating using the application. I am using jdk1.5.

      Any help would be greatly appreciated.

      Edited by: JavaXchanges on Mar 31, 2009 10:52 AM