setup.sh: typo fix

Thanks to thomas.tan!
core.sh: drop GNU stat (coreutils) dependency

Do not use 'stat' anymore because switches are different from BSD version.
Credits go to thomas.tan
Fixes issue 945.
plowup: update $ERR_LINK_NEED_PERMISSIONS error message