Files being constantly updated

  • Hi, I have pretty strange problem, every day my snapraid shows that many files (xml and nfo) are being updated (files that I'm not using probably for years).

    From snapraid log:

    Code
    update Media/Muzyka/Mariusz2/DVD3/\{INNE\}/Mid/\[Pink\ Floyd\].xml

    I think that file content stay same but modify date is being updated

    I was able to track down what is changing this file :

    Code
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    clamd 706 clamav 43r REG 0,47 224 3529693239873504059 /srv/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx//Media/Muzyka/Mariusz2/DVD3/{INNE}/Mid/[Pink Floyd].xml

    But I cant find reason for it, even clamav log say nothing (sent to me by email):

    Code
    Please wait, scanning shared folder <Media> ...
    /srv/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/Media: OK
    ----------- SCAN SUMMARY -----------
    Infected files: 0
    Time: 626.870 sec (10 m 26 s)
    The scan has completed successfully.


    File itself is really xml file (nothing special about it):

    XML
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <Item>
    <Added>7/24/2016 5:46:43 PM</Added>
    <LockData>false</LockData>
    <LocalTitle>[Pink Floyd]</LocalTitle>
    <RunningTime>0</RunningTime>
    <Shares />
    </Item>

    Here is my clamav config:


    Any one have idea what is going on and how to fix it ?


    File access was recorded by this script:

    Code
    #!/bin/sh
    FILE=$1
    while true; do
    lsof "${FILE}"
    done > /tmp/fileusers.log

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!