DPB can't build mail/sendmail

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

DPB can't build mail/sendmail

trondd-2
I had this problem in 5.9 and forgot about it until 6.0, but DPB can't
successfully build the sendmail package.

DPB is using the default _pbuild, etc users so the build is not running as
root.  Is there some work around for this?   Besides just packaging it as
root.

Tim.

install:
/usr/ports/pobj/sendmail.8.15.2/fake-amd64/usr/local/libexec/sendmail//sendmail:
chmod: Operation not permitted


Reply | Threaded
Open this post in threaded view
|

Re: DPB can't build mail/sendmail

Marc Espie-2
On Tue, Oct 11, 2016 at 08:24:15PM -0400, trondd wrote:

> I had this problem in 5.9 and forgot about it until 6.0, but DPB can't
> successfully build the sendmail package.
>
> DPB is using the default _pbuild, etc users so the build is not running as
> root.  Is there some work around for this?   Besides just packaging it as
> root.
>
> Tim.
>
> install:
> /usr/ports/pobj/sendmail.8.15.2/fake-amd64/usr/local/libexec/sendmail//sendmail:
> chmod: Operation not permitted
>
Works perfectly here. You've got some issue in your directory setup.

Reread bulk(8) very carefully. Bad ownership of directories does lead to
this kind of issue.

Reply | Threaded
Open this post in threaded view
|

Re: DPB can't build mail/sendmail

trondd-2
On Wed, October 12, 2016 6:38 pm, Marc Espie wrote:
>
> Reread bulk(8) very carefully. Bad ownership of directories does lead to
> this kind of issue.
>

Yup.  Thanks.  I had the owner set for _pbuild but not the group.  That
made the difference.

Tim.