this post was submitted on 26 Jan 2025
109 points (99.1% liked)

Open Source

32225 readers
224 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 22 points 17 hours ago* (last edited 17 hours 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