Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11510 - wrong permissions when upgrading mlocate

Attached to Project: Arch Linux
Opened by Börje Holmberg (linfan) - Wednesday, 17 September 2008, 12:29 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 31 December 2008, 17:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Medium
Priority Normal
Reported Version 1.5.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

pacman -Syu
:: Synchronizing package databases...
core 31.6K 767.9K/s 00:00:00 [---------------------] 100%
extra is up to date
community 336.0K 2042.5K/s 00:00:00 [---------------------] 100%
:: Starting full system upgrade...
warning: boost: local (1.35.0-1) is newer than extra (1.34.1-2)
warning: deluge: local (0.5.9.4-1) is newer than extra (0.5.9.1-1)
warning: esd: ignoring package upgrade (0.2.38-3 => 0.2.39-1)
warning: mail-notification: ignoring package upgrade (4.1-1 => 5.0-1)
warning: mozplugger: ignoring package upgrade (1.8.1-1 => 1.10.2-1)
resolving dependencies...
looking for inter-conflicts...

Targets (1): mlocate-0.21-1

Total Download Size: 0.05 MB
Total Installed Size: 0.34 MB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
mlocate-0.21-1-i686 52.6K 1015.0K/s 00:00:00 [---------------------] 100%
checking package integrity...
(1/1) checking for file conflicts [---------------------] 100%
(1/1) upgrading mlocate [---------------------] 100%
warning: directory permissions differ on var/lib/mlocate/
filesystem: 755 package: 750
root /home/borje4 # ls -la /var/lib/mlocate
total 8912
drwxr-xr-x 2 root locate 4096 2008-09-17 11:45 .
drwxr-xr-x 18 root root 4096 2008-09-17 14:16 ..
-rw-r----- 1 root locate 9097523 2008-09-17 11:45 mlocate.db
This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 31 December 2008, 17:48 GMT
Reason for closing:  None
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 11:04 GMT
And why is this a problem for you? Locate runs as setgid locate, so it can always access /var/lib/mlocate even if you can't.
Comment by Börje Holmberg (linfan) - Friday, 05 December 2008, 12:02 GMT
It now works :-) You can close this bug.

Loading...