> On one side, “rpm -qa” will create the directory in my home directory as
> myself, but “sudo rpm -qa” will do the wrong thing.

What do you mean by wrong?

On my bullseye machine sudo rpm -qa creates the subdirectory in
/root/.rpmdb as root. So IMO this works correct.

rpm -qa without sudo creates $HOME/rpmdb as my user. This is also
correct.

I don't understand why this bug was assigned to rpm.

-- 
regards Thomas

Reply via email to