this post was submitted on 26 Jan 2025
144 points (99.3% liked)

Open Source

33193 readers
181 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
you are viewing a single comment's thread
view the rest of the comments
[–] qaz@lemmy.world 24 points 3 weeks ago* (last edited 3 weeks 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