linux, how to reset properties on the command files 'su' and 'sudo?' What is the exact command syntax, please?
I unthinkingly changed the entire /bin and /usr/bin directories and contents to "user" and "group," instead of root and root. Plus they lost the setguid and setuid properties. I was trying to fix a different problem and just wasn't thinking when I did "chown -H 'user' *" and then the same thing with "chgrp."
It is on an SD card for a Raspberry Pi 2, so I have tried putting the SD card in a desktop Linux box to fix the attributes but am confused by what I see on the web about which exact syntax to use.
Thanks.