Skip to content

Renaming overwrites existing without prompt (data loss) #25

@wedebe

Description

@wedebe

Copying a file from one path to another will prompt before overwriting if the source filename already exists in the destination.

However, renaming a file to an existing file name in the same folder will destroy the target file and replace with the renamed file without warning the user.

eg:

root@mutant51:/# ls -1 /tmp
chrony.status
dw.info
hotplug.socket
kodiext.socket
powerup_without_waking_tv.txt
do_not_delete.log
random.log

From file commander, renaming random.log to do_not_delete.log will cause do_not_delete.log to be lost without warning.

OpenATV 7.3 on Mut@nt HD51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions