Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines
Do NOT report bugs when a package is just outdated, or it is in Unsupported. 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) - Wednesday, 29 October 2008, 21:48 GMT-5
Last edited by Allan McRae (Allan) - Wednesday, 29 October 2008, 21:55 GMT-5
Opened by Xyne (Xyne) - Wednesday, 29 October 2008, 21:48 GMT-5
Last edited by Allan McRae (Allan) - Wednesday, 29 October 2008, 21:55 GMT-5
|
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)
Wednesday, 29 October 2008, 21:55 GMT-5
Reason for closing: Duplicate
Additional comments about closing: FS#8905
Wednesday, 29 October 2008, 21:55 GMT-5
Reason for closing: Duplicate
Additional comments about closing:
Comment by Xyne (Xyne) -
Wednesday, 29 October 2008, 21:53 GMT-5
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/"