[Bugs] #481 UNSP: mv command in Terminal (and Sugar console) removes files when move unsuccessful
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Thu Mar 5 04:23:02 EST 2009
#481: mv command in Terminal (and Sugar console) removes files when move
unsuccessful
------------------------------------------+---------------------------------
Reporter: smiller | Owner: sayamindu
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Terminal | Version: Unspecified
Severity: Unspecified | Keywords:
Distribution: Unspecified | Status_field: Unconfimed
------------------------------------------+---------------------------------
When using the 'mv' to move files in the Sugar Terminal (or console), mv
deletes the files being moved even if the transfer is unsuccessful. This
was discovered when a USB drive was mounted read-only, and the mv command
was used to transfer files. Every file was listed as unsuccessful due to
lack of permissions (as expected). After re-mounting the drive with as
'rw', the files that were "moved" were gone. The 'mv' command removed
them, even after completing unsuccessfully.
'mv' should be fixed to only delete the files after a successful move.
--
Ticket URL: <http://dev.sugarlabs.org/ticket/481>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list