142
submitted 6 days ago by qaz@lemmy.world to c/opensource@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] qaz@lemmy.world 23 points 6 days ago* (last edited 6 days ago)

You should be able to set a watch using the Linux Audit system (which home-watcher also uses). Try something like this

sudo auditctl -w /.Trash-1000 -p rwxa -k trash_monitor

You should then be able to search for events in the logs with

sudo ausearch -k trash_monitor
this post was submitted on 26 Jan 2025
142 points (100.0% liked)

Open Source

32337 readers
94 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS