pkgsrc-Users archive

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

Re: PKG_DESTDIR_SUPPORT=destdir problem?



Hauke Fath <hf%spg.tu-darmstadt.de@localhost> writes:

> All,
>
> I just tried to build news/inn, and it errors out during packaging.
>
> The package has
>
> PKG_DESTDIR_SUPPORT=destdir
>
> set, since it installs a swath of files with custom ownership and
> permissions. After dumping all that into work/.destdir, it drops root
> privilege, and then surprisingly is not able to package some of the
> files.
>
> Is this something the package needs to fix, or has the destdir support
> bit-rotted?

I wonder if you can get it to use nbinstall writing METALOG, so that it
can produce the package without root.  Lots of packages end up with
root-owned files, I think.

Are some of the files user=root mode=0600, so that the non-root user
can't read them?


Home | Main Index | Thread Index | Old Index