madchaz l33t
Joined: 01 Jul 2003 Posts: 995 Location: Quebec, Canada
|
Posted: Wed Jan 15, 2025 9:00 pm Post subject: Figuring out what makes folders vanish |
|
|
Good day all,
I'm facing a bit of a head scratcher.
I have a ramdrive I dump short lived data in. The data is organished in folders.
However, if I have an empty folder, something deletes it and I can't for the life of me figure it out.
What I have done so far
1: Stop all scripts for my application and/or do a fresh reboot (app is started manually)
2: Use inotify to monitor the folder
3: use auditd to try and figure out what process deletes it.
Results:
1: folder still vanish
2: inotify does show the folder being created, then being deleted.
When I delete the folder intentionally, I get a DELETE_SELF followed by a DELETE event.
When it vanishes on it's own, I get a DELETE_SELF event followed by a DELETE event, just the same.
3: the logs for auditd show when I intentionally delete the folder.
NO activity when the folder vanishes.
Anyone as an idea where to look next? _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it. |
|