Scanning som mappeejer

Du kan scanne mapper som ejer af mappen:

root:for VOLUME in /Volumes/*; do sudo -u \#`stat -f %u "$VOLUME"` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' -f /tmp/scan_log "$VOLUME"; done

Du kan også scanne /tmp -mappen som en bruger, der aktuelt er logget ind:

root:sudo -u \#`stat -f %u /dev/console` '/Applications/ESET Cyber Security.app/Contents/MacOS/esets_scan' /tmp