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!
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!
FS#11933 - "pacman -Sp <pkg>" shouldn't need root privileges
Attached to Project:
Arch Linux
Opened by Xyne (Xyne) - Thursday, 30 October 2008, 01:48 GMT
Last edited by Allan McRae (Allan) - Thursday, 30 October 2008, 01:55 GMT
Opened by Xyne (Xyne) - Thursday, 30 October 2008, 01:48 GMT
Last edited by Allan McRae (Allan) - Thursday, 30 October 2008, 01:55 GMT
|
DetailsInvoking a sync operation with pacman to print the URIs (pacman -Sp <pkg>) requires root privileges. As this operation does not alter anything on the system, it should be able to be run by a normal user and freely invoked within scripts.
|
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 30 October 2008, 01:55 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#8905
Thursday, 30 October 2008, 01:55 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by Xyne (Xyne) -
Thursday, 30 October 2008, 01:53 GMT
The same goes for download-only operations that specify a directory for which the user has write permissions, e.g. "pacman -Sw <pkg> --cachedir /tmp/cache/"