Project

General

Profile

Bug #1828

[db-scripts]: misleading error message

bill-auger - over 1 year ago - . Updated over 1 year ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

0%


Description

running db-remove under sudo successfully revome the package but gives an error "Run as a normal user" - but running unprivileged fails with "You don't have permission"

$ sudo db-remove pcr-testing x86_64 ring-kde
==> Removing ring-kde from [pcr-testing]...
==> ERROR: Run as a normal user
==> ERROR: Run as a normal user
==> WARNING: ring-kde not found in ABSLibre for pcr-testing-x86_64
==> WARNING: Removing only ring-kde from the repo
==> WARNING: If it was a split package you have to remove the others yourself!

$ db-remove pcr-testing x86_64 ring-kde
mktemp: failed to create directory via template ‘/srv/repo/tmp/db-remove.XXXXXXXXXX’: Permission denied
==> ERROR: You don't have permission to remove packages from pcr-testing

History

#1

Updated by lukeshu over 1 year ago

Both are true.

Currently, only the repo user has permission.

Also available in: Atom PDF