This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

FilePermission  RSS feed

 
Sathya Prabhu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am creating a file using FileWriter and using that with a PrintWriter.Can anyone of you please tell me as how to assign file permissioms th the file created like write and execute?

Thanks in advance!!!
 
Stephen Foy
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you can only give read or write permissions.

 
Sathya Prabhu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Stephen .... I too worked on the same....Thanks again for your time...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!