[Bug 1071858] Re: mlocate doesn't allow access to any normal users
Brian
zenlines at gmail.com
Sun Oct 28 00:32:57 UTC 2012
Hi Dave,
_02:29_$ ls -l /usr/bin/locate /etc/alternatives/locate /usr/bin/mlocate
/var/lib/mlocate/mlocate.db
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
-rwx--s--x 1 root group 39472 Aug 17 2011 /usr/bin/mlocate
-rw-r----- 1 root lightdm 16102513 Oct 26 09:16 /var/lib/mlocate/mlocate.db
So lots of links.
The group name I replaced with 'group' so don't let that throw you off.
Best,
Brian
On 10/28/2012 01:55 AM, Dave Gilbert wrote:
> Hi,
> mlocate should be sgid to get permissions; so can you do:
>
> ls -l /usr/bin/locate /etc/alternatives/locate /usr/bin/mlocate
> /var/lib/mlocate/mlocate.db
>
> and include the result.
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/1071858
Title:
mlocate doesn't allow access to any normal users
Status in “mlocate” package in Ubuntu:
New
Bug description:
Hi there!
my locate database is denying me access.
When I:
sudo chmod 770 /var/lib/mlocate/mlocate.db
and then reboot, I still get:
$ locate crap
locate: can not open `/var/lib/mlocate/mlocate.db': Permission denied
This along with a host of other problems (see
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1059521).
Thanks
Brian
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mlocate 0.23.1-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-32.51-generic 3.2.30
Uname: Linux 3.2.0-32-generic x86_64
ApportVersion: 2.0.1-0ubuntu14
Architecture: amd64
Date: Fri Oct 26 20:18:00 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64+mac (20120425.1)
SourcePackage: mlocate
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/1071858/+subscriptions
More information about the foundations-bugs
mailing list