I remember long time ago I had some antivirus on windows which had wile accesses monitor, and could tell you if any process accesses a file.I need to monitor every file in my home folder(or any other) what application does the actions.
file creation and acces monitoring app
filesystems;monitoring
If you are using Linux, this sounds like a job for fatrace (which uses the fanotify API). Here is some sample output:sh(28980): C /bin/bashcron(28974): CW /tmp/tmpf807Y78 (deleted)cron(28974): C /lib/x86_64-linux-gnu/security/pam_unix.socron(28974): C /lib/x86_64-linux-gnu/libcrypt-2.13.socron(28974): C /lib/x86_64-linux-gnu/security/pam_deny.soThis tells us, for example, that cron did a close-write on /tmp/tmpf807Y78.If fatrace turns out not to be adequate for your use case, you couldlook up alternative clients of the fanotify API.