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

Open Source

32337 readers
778 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 5 days ago* (last edited 5 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