My favouritefavorite tool for monitoring which files an application opens is the powerful monitoring framework sysdig`sysdig.
Creating a trace file that will only contain writing events in home directories (which we can inspect later with "sysdig -r writetrace.scap.gz"sysdig -r writetrace.scap.gz):
Sysdig has many chisels, see for more interesting things it can do:
How to monitor and troubleshoot a Linux server using sysdig
seeSee also related answer Why are true and false so large?