Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No warning for hard links #121

Open
eqjjh opened this issue Aug 5, 2020 · 5 comments
Open

No warning for hard links #121

eqjjh opened this issue Aug 5, 2020 · 5 comments

Comments

@eqjjh
Copy link

eqjjh commented Aug 5, 2020

I got a lot of results in /timeshift, and since timeshift is supposed to be a backup, I didn't realize a lot (all?) of the results were actually links to the original files, and just deleted a large number of files.

ClamTK should perhaps show the 2 duplicated files together, or have some indication that files are duplicated, maybe with some sort of highlight. Not sure how they are displayed in the terminal version, or if this is just a linux issue.

There is potential for serious harm without having this information available.

@eqjjh
Copy link
Author

eqjjh commented Aug 5, 2020

This could be an issue with ClamAV itself depending on how the results are displayed:
https://unix.stackexchange.com/questions/478908/using-clamav-efficiently-when-timeshift-snapshots-are-present

@eqjjh
Copy link
Author

eqjjh commented Aug 5, 2020

Not actually sure that the files were deleted, because they appear grayed out in the results section. What does it mean?

@dave-theunsub
Copy link
Owner

Hi @eqjjh ,

A file is grayed out when it has been deleted or quarantined.

Thanks,
Dave M

@dave-theunsub
Copy link
Owner

I'm not familiar with Timeshift much, but it's easy enough to add a filter for it. I'll try adding it to 6.05.

Thanks,
Dave M

@dave-theunsub
Copy link
Owner

@eqjjh ,

Scans can have the options:

    --follow-dir-symlinks[=0/1(*)/2]     Follow directory symlinks (0 = never, 1 = direct, 2 = always)
    --follow-file-symlinks[=0/1(*)/2]    Follow file symlinks (0 = never, 1 = direct, 2 = always)

I can add these to 6.07 which may also help.

Thanks,
Dave M

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants