pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wrong directory ownership or permissions warning when install package



On 5/26/15 2:53 PM, Joerg Sonnenberger wrote:
> On Tue, May 26, 2015 at 02:33:46PM -0500, J. Lewis Muir wrote:
>> It works, but it emits this warning message.  It seems like pkgsrc
>> builds packages expecting them to be installed by root (assuming one
>> has not specified the "--unprivileged" bootstrap option).  Is that
>> true?
>
> ROOT_USER / ROOT_GROUP.

Bingo!  Setting those two variables in mk.conf to the user and group of
the user that I want the packages to be installed by worked!

I didn't test a pbulk build, but it worked for building the package by
hand as the pbulk user and installing via pkg_add as the admin user.

Thanks a bunch, Joerg!

Lewis


Home | Main Index | Thread Index | Old Index