Install loggedfs by entering the following commands in the terminal:
sudo apt update sudo apt install loggedfs
Description:
Fuse-filesystem daemon logging every filesystem operations
LoggedFS is a transparent fuse-filesystem which allows you to log every operation that takes place in the backend filesystem. Logs can be written to syslog, into a file, or to the standard output. . You can add filters to an XML file to filter on users, operations (open, read, write, chown, chmod, etc.), filenames and return codes. Since it is fuse-based, you don't need to change anything in your kernel or on your hard disk partition to use it.
Homepage: http://sourceforge.net/projects/loggedfs/
Version: 0.5-0ubuntu4
Section: universe/utils