Hi Dave,

I just changed the name (only in the email) for the sake of privacy. I 
changed the group to the normal group on for the mlocate database, which 
worked fine until I rebooted and then the group name was reverted to the 
old group.
Looked like:

lrwxrwxrwx 1 root root          16 Jul 19 18:03 /etc/alternatives/locate 
-> /usr/bin/mlocate
lrwxrwxrwx 1 root root          24 Jul 19 18:03 /usr/bin/locate -> 
/etc/alternatives/locate
-rwxr-s--x 1 root group    39472 Aug 17  2011 /usr/bin/mlocate
-rw-r----- 1 root group 16161892 Nov  5 09:29 /var/lib/mlocate/mlocate.db

After reboot
lrwxrwxrwx 1 root root          16 Jul 19 18:03 /etc/alternatives/locate 
-> /usr/bin/mlocate
lrwxrwxrwx 1 root root          24 Jul 19 18:03 /usr/bin/locate -> 
/etc/alternatives/locate
-rwxr-s--x 1 root group    39472 Aug 17  2011 /usr/bin/mlocate
-rw-r----- 1 root lightdm 16161892 Nov  5 09:29 /var/lib/mlocate/mlocate.db


Sorry for the late reply.

Best,
Brian


On 10/28/12 02:04, Dave Gilbert wrote:
> OK, I'm not sure why you've changed the group on mlocate, but it sohuld
> match the group on the mlocate.db; typically as mlocate:
>
> dg@major:~$ ls -l /usr/bin/locate /etc/alternatives/locate /usr/bin/mlocate 
> /var/lib/mlocate/mlocate.db
> lrwxrwxrwx 1 root root          16 Jul 17 19:09 /etc/alternatives/locate -> 
> /usr/bin/mlocate
> lrwxrwxrwx 1 root root          24 Jul 17 19:09 /usr/bin/locate -> 
> /etc/alternatives/locate
> -rwxr-sr-x 1 root mlocate    39512 Aug 15 04:26 /usr/bin/mlocate
> -rw-r----- 1 root mlocate 11823635 Oct 27 12:44 /var/lib/mlocate/mlocate.db
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1071858

Title:
  mlocate doesn't allow access to any normal users

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1071858/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to