GeeCON Prague 2014*
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


JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "file permission " Watch "file permission " New topic
Author

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
Hi,
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.
-Dhanush
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
 
GeeCON Prague 2014
 
subject: file permission