Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes I/O and Streams and the fly likes file permission Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "file permission " Watch "file permission " New topic

file permission

eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
In my application im trying to open and edit a .csv file when i press a hyperlink,but its opening in read only mode not writable mode .how can i give write permission to my .csv file? for that i used FilePermission class then also its opening in read only mode .any reply appreciate thanks in advance
Dhanush Dharsh
Ranch Hand

Joined: Oct 30, 2000
Posts: 33
Since you had mentioned that you open a file by clicking on a link, this should be because of a problem in the server where the file is hosted. Please check the permission on the path and .csv file on the server. If it is readonly, make it writable and try again.
eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
hi thanQ ,, my file is in writable mode ..but its still opening in read only mode
I agree. Here's the link:
subject: file permission
It's not a secret anymore!