Ticket #988 (closed Bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Cannot write covers (thx Thierry Lejealle)

Reported by: bflorat Owned by: bflorat
Priority: 8, high Milestone: 1.5.1
Component: Functional Version: 1.5
Keywords: Cc:
Regression ?:

Description (last modified by bflorat) (diff)

Under windows, in some cases (probably when using special directories /desktop.ini), one cannot write covers to the disk

Technical: check  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4939819 Fix: don't use the java.io.File.canWrite() method, catch IOException instead

Note that this workaround should become useless from upcoming 1.5.1 as we removed every canWrite() checks.

Attachments

Change History

Changed 5 years ago by bflorat

  • status changed from new to assigned
  • description modified (diff)

Update

We finally reproduced the issue. The problem doesn't come from the use of desktop.ini but from the read only attribute. Note 100% sure but apparently, the Properties / Read only option on a directory from Windows Explorer doesn't apply Read-only attribute on the directory but on its files only. (Successfully tested) workaround : open a console (Start-> execute -> "cmd") and type

attrib -r <the directory>

Note that this workaround should become useless from upcoming 1.5.1 as we removed every canWrite() checks.

Changed 5 years ago by bflorat

  • status changed from assigned to closed
  • resolution set to fixed

Applied against 1.5 and trunk

Add/Change #988 (Cannot write covers (thx Thierry Lejealle))

Author



Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.