fosskers / aura

A multilingual package manager for Arch Linux and the AUR.
https://fosskers.github.io/aura/
GNU General Public License v3.0
1.76k stars 114 forks source link

How do I run aura as a root user? #943

Closed flajann2 closed 1 month ago

flajann2 commented 1 month ago

Running aura as root is a part of my normal workflow when I am configuring my system at the root level, because many other commands that I might run will only run as root, and typing "sudo" at the beginning of every commands gets old quickly.

I went splunking through your source code and did not see anything obvious.

So how do I reenable this functionality?

fosskers commented 1 month ago

sudo is no longer necessary - you should be able to run Aura as root and build packages normally with just aura -A foo.

flajann2 commented 1 month ago

It won't let me. When I am logged in as root (not using sudo), it gives me the same "sudo no longer required" and refuses to run. I have to get out of root and go back to my user account just to run aura.

flajann2 commented 1 month ago

So you have no intentions on giving me an option or configuration at least? Wow.

fosskers commented 1 month ago

The issue was closed by a commit fixing the issue. You should be able to run Aura as root without issue now.

flajann2 commented 1 month ago

Thank you.