linux-image-manager/scripts/analyze/client/false_chown.sh

7 lines
320 B
Bash
Raw Normal View History

2020-05-20 12:13:39 +02:00
#!/bin/bash
# @author Kevin Veen-Birkenbach
# shellcheck source=/dev/null # Deactivate SC1090
source "$(dirname "$(readlink -f "${0}")")/../../base.sh" || (echo "Loading base.sh failed." && exit 1)
info "Searching for files which are in \"$HOME\" but don't belong to user \"$USER\"..."
sudo find "$HOME" ! -user "$USER"