analyze-script-collection/false_chown.sh

6 lines
216 B
Bash
Raw Normal View History

#!/bin/bash
# @author Kevin Veen-Birkenbach
# shellcheck source=/dev/null # Deactivate SC1090
2021-12-08 12:43:34 +01:00
echo "Searching for files which are in \"$HOME\" but don't belong to user \"$USER\"..."
sudo find "$HOME" ! -user "$USER"