[pacman-dev] [PATCH] Remove --asroot switch from makepkg.
Sebastian Nowicki
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-
>>> build
>>> 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
>>> annoying.
>>>
>>> Warnings are nice, but when you start to block functionality it
>>> really
>>> becomes a babysitting feature.
>>
>> +1
>>
>> I never actually run makepkg as root (ie. logged in as root), but I
>> do
>> 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?
>
> -Dan
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
mailing list