Skip to content

Critical: Program v.0.3 can delete your data #8

@martyno-cls

Description

@martyno-cls

To developer: Why don't your program delete the files with names, that it created (or might create by himself) instead of deleting the ALL files. I recommend adding the message of asking the permissions to delete the specified files.

To users: RTFM.

Please be careful when you are using the program.

It may delete all your data (books and other files) when import the index WITHOUT any warning messages if you not correctly specify the index_path setting.

I tried to use v.0.3 Win11 x64.

indexer.toml has these settings:

index_path = "C:\\Doc\\xxx"
library_path = "C:\\Doc\\xxx\library"

When I tried to run:

C:\Doc\xxx>inpxer.exe import xxx_local_fb2.inpx
Starting import from: xxx_local_fb2.inpx
2025/11/08 13:54:48 Deleting old index...
2025/11/08 13:54:48 Error deleting old index: C:\Doc\xxx
remove C:\Doc\xxx\inpxer.exe: Access is denied.

The program deleted all files from the C:\\Doc\\xxx folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions