FS#33619 - pacman cannot determine ownership of a directory with the "owns" query

Attached to Project: Pacman
Opened by Serhiy Zahoriya (int_ua) - Monday, 28 January 2013, 23:15 GMT
Last edited by Allan McRae (Allan) - Tuesday, 29 January 2013, 00:23 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 4.0.3
Due in Version 4.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pacman -Qo
should also determine a directory owners, not just files'.

Additional info:
Pacman v4.0.3
libalpm v7.0.3

Steps to reproduce:
# pacman -Qo /etc/pacman.d/mirrorlist
/etc/pacman.d/mirrorlist is owned by pacman-mirrorlist 20130102-1
# pacman -Qo /etc/pacman.d/
error: cannot determine ownership of directory '/etc/pacman.d/'
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 29 January 2013, 00:23 GMT
Reason for closing:  Implemented
Additional comments about closing:  commit 9c160cf3
Comment by Alain Kalker (ackalker) - Tuesday, 29 January 2013, 02:37 GMT
$ pacman -Ql | grep '/usr/share/fonts/$'
artwiz-fonts /usr/share/fonts/
gsfonts /usr/share/fonts/
ttf-dejavu /usr/share/fonts/
ttf-liberation /usr/share/fonts/
xorg-font-util /usr/share/fonts/
xorg-fonts-100dpi /usr/share/fonts/
xorg-fonts-75dpi /usr/share/fonts/
xorg-fonts-alias /usr/share/fonts/
xorg-fonts-encodings /usr/share/fonts/
xorg-fonts-misc /usr/share/fonts/

Which package 'owns' this directory? All of them? None of them? The last package being removed leaving the directory empty?
My guess is that this is what makes the question very hard for pacman to answer.

Loading...