• Post Reply Bookmark Topic Watch Topic
  • New Topic

File permissions and SecurityException  RSS feed

 
Graeme Byers
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I had access to a Unix machine I would check this myself.

Does Sun's phrase "security manager" include file permissions ?

If I attempt to (say) File write() to a file which allows me only read access, is a SecurityException raised ?. If not, what happens ?

Thank you.
 
Graeme Byers
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got the answer - returns false.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!