[Bug 1681103] [NEW] /etc/cron.daily/locate script runs as wrong user
Christian Petri
1681103 at bugs.launchpad.net
Sat Apr 8 14:37:53 UTC 2017
Public bug reported:
The /etc/cron.daily/locate script runs as wrong user. In the package the
line says LOCALUSER="nobody" but it should be LOCALUSER="root" because
if the "updatedb" script runs as nobody a lot of files can't be indexed
because nobody hasn't the right to view all system files.
The information I should provide regarind the guidelines
# lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy locate
locate:
Installed: 4.6.0+git+20160126-2
Candidate: 4.6.0+git+20160126-2
Version table:
*** 4.6.0+git+20160126-2 500
500 http://mirror.hetzner.de/ubuntu/packages xenial/universe amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
** Affects: findutils (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/1681103
Title:
/etc/cron.daily/locate script runs as wrong user
Status in findutils package in Ubuntu:
New
Bug description:
The /etc/cron.daily/locate script runs as wrong user. In the package
the line says LOCALUSER="nobody" but it should be LOCALUSER="root"
because if the "updatedb" script runs as nobody a lot of files can't
be indexed because nobody hasn't the right to view all system files.
The information I should provide regarind the guidelines
# lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04
# apt-cache policy locate
locate:
Installed: 4.6.0+git+20160126-2
Candidate: 4.6.0+git+20160126-2
Version table:
*** 4.6.0+git+20160126-2 500
500 http://mirror.hetzner.de/ubuntu/packages xenial/universe amd64 Packages
500 http://de.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/findutils/+bug/1681103/+subscriptions
More information about the foundations-bugs
mailing list