Opened 15 years ago

Closed 12 years ago

#319 closed enhancement (fixed)

A prompt is needed when copying over readonly files

Reported by: dwgras Owned by: Gregg Young
Priority: minor Milestone: Release_3.21
Component: fm/2 base Version: 3.14
Keywords: Prompt Cc:

Description

A prompt is needed asking the user what he wants to do when overwriting a directory or file(s) that have the attribute readonly.

Does the user want to continue or cancel the copy or move operation?

example: Some of the files are marked readonly, do you wish to proceed with the operation?

Presently, the copy/move operation fails with an error message.

Steven had this to say:

This is part of what's needed. The process is a bit more complicated in that, for safety, the check should be done before the copy/move is started. Otherwise, the destination might be partially updated before the user gets a chance to decide what to do.

Change History (4)

comment:1 Changed 15 years ago by Gregg Young

Milestone: Release_4.0Release_3.16

comment:2 Changed 15 years ago by Gregg Young

Milestone: Release_4.0

comment:3 Changed 12 years ago by Gregg Young

Milestone: Release_3.21
Owner: set to Gregg Young
Status: newassigned

I decided not to check first because it is IO intensive for large operations and it is no worse than how we do it now. It will copy until it fails on a readonly file currently. I also added a warning for delete on readonly files. We use to just delete them.

comment:4 Changed 12 years ago by Gregg Young

Resolution: fixed
Status: assignedclosed

CS 1664

Note: See TracTickets for help on using tickets.