On a new Xubuntu 16.04 installation, I saw the following permissions:
ls -l /usr/bin/mlocate
-rwxr-xr-x 1 root saned 39520 Nov 18 2014 /usr/bin/mlocate
1) mlocate didn't have setuid (which might be ok for some use cases)
2) the group is saned which is completely wrong. I assume the group is assigned by gid instead of name. saned has gid=127 on my system
On a new Xubuntu 16.04 installation, I saw the following permissions:
ls -l /usr/bin/mlocate
-rwxr-xr-x 1 root saned 39520 Nov 18 2014 /usr/bin/mlocate
1) mlocate didn't have setuid (which might be ok for some use cases)
2) the group is saned which is completely wrong. I assume the group is assigned by gid instead of name. saned has gid=127 on my system