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
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Invoking 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 
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/"

Loading...