This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
 
subject: file permission
 
Similar Threads
Opening CSV file in ReadOnly while writing data to it
process cannot access the file because another process has locked: java.util.Logging
create csv file
does excel support utf-8 encoding?
Pointbase : How can I create a stored procedures with Pointbase database?