pkgsrc-Users archive

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

Re: building with package directory over NFS



Also, it's a very good idea to set up your pkgsrc builds to use
unprivileged builds.

Jaromir

Le lun. 29 juin 2020 à 12:30, Sijmen J. Mulder <ik%sjmulder.nl@localhost> a écrit :
>
> Mayuresh wrote:
> > My setup involves nfs mounted packages directory on a Linux qemu guest.
> > The mount looks like:
> >
> > 10.0.2.2:/usr/local/ubuntu/packages on /packages type nfs (<snip>
> >
> > [..]
> >
> > => Creating binary package /packages/All/boost-jam-1.73.0.tgz
> > /bin/cp: failed to preserve ownership for
> > '/packages/All/boost-jam-1.73.0.tgz': Operation not permitted
> > *** Error code 1
>
> I have my pkgsrc NFS export set up with no_squash_root:
>
> /mnt/data/pkgsrc 192.168.122.0/24(rw,no_subtree_check,no_root_squash)
>
> Otherwise root gets remapped to a different UID, iirc.
>
> Sijmen


Home | Main Index | Thread Index | Old Index