pkgsrc-Users archive

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

Re: PKG_DESTDIR_SUPPORT=destdir problem?

On Tue, Sep 03, 2019 at 04:54:59PM +0200, Hauke Fath wrote:
> On 2019-09-03 15:34, Joerg Sonnenberger wrote:
> > On Tue, Sep 03, 2019 at 01:07:05PM +0200, Hauke Fath wrote:
> > > Is this something the package needs to fix, or has the destdir support
> > > bit-rotted?
> > 
> > It was always kind of a hack to limit the amount of work necessary for
> > the packager. Handling unreadable files wasn't on the list.
> Well, the funny thing is that the destdir framework is used to set file
> permissions such that the regular user cannot read (or package) the file.
> Unless news/inn does something very wrong, this case requires at least the
> option to package the file with the same credentials as the install.

Nothing in the destdir framework sets file permissions. If you mean
REQD_* etc, they are not applied with destdir, but only during the
actual package installation.


Home | Main Index | Thread Index | Old Index