FS#31551 - Allow specifying paths without root prefix for -Qo

Attached to Project: Pacman
Opened by Allan McRae (Allan) - Saturday, 15 September 2012, 14:25 GMT
Last edited by Allan McRae (Allan) - Tuesday, 29 December 2020, 13:30 GMT
Task Type Bug Report
Category General
Status Unconfirmed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 4.0.3
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Summary and Info:

When using testing ownership of a file inside an alternative root:
pacman -r /dir -Qo /path/to/file

it is requires that the full path - including the root prefix - is specified. Thus, this will not work:

pacman -r /root -Qo /etc/pacman.conf

We should test if the file is in the root and if not add the directory prefix.
This task depends upon

Loading...