[pacman-dev] [PATCH] Remove --asroot switch from makepkg.
sebnow at gmail.com
Wed Jun 18 19:39:43 EDT 2008
On 18/06/2008, at 11:40 PM, Dan McGee wrote:
> On Wed, Jun 18, 2008 at 10:29 AM, Sebastian Nowicki
> <sebnow at gmail.com> wrote:
>> On 18/06/2008, at 11:00 PM, Loui wrote:
>>> Well, my opinion is that makepkg shouldn't hinder an admin user any
>>> more than say `rm -r /*` or other similar wonderfully destructive
>>> commands. Besides, --asroot is yet another flag, adds more code and
>>> complexity, and can hinder root users from even doing small non-
>>> tasks. I use makepkg as another user most of the time, but I'll
>>> use it
>>> as root every once in awhile and I found --asroot to be a bit
>>> Warnings are nice, but when you start to block functionality it
>>> becomes a babysitting feature.
>> I never actually run makepkg as root (ie. logged in as root), but I
>> use sudo, and "sudo makepkg --asroot" is just stupid.
> You do realize this is the *exact* same thing as running as root,
> which is what this option was meant to notify you about and scare you
> away from?
Yes, what I meant was that "sudo ... --asroot" is redundant. You are
explicitly saying that you want to be root by using sudo, and on top
of that you have to explicitly tell makepkg that you want to be root.
More information about the pacman-dev