• Post Reply Bookmark Topic Watch Topic
  • New Topic

File Permissions

 
Shane Roylance
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating a text file on a windows platform. This file is then accessed each time my software is executed, by multiple users. I am having permission problems on Windows 2000 machines where one user may create the file, then other users are not able to write to the file. Is there a way to set permissions on a file when it is created?
 
Chidda Nana
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shane,
java.io.FilePermission class exposes methods that can help you out with that. I haven't tried it out myself.
Chidda
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!