Subject: Re: pkgtools/x11-links permissions
To: None <>
From: Ian D. Leroux <>
List: tech-pkg
Date: 01/31/2005 11:36:40
On Mon, Jan 31, 2005 at 10:21:21AM -0500, Todd Vierling wrote:
> On Sun, 30 Jan 2005, Ian D. Leroux wrote:
> > Details: The do-build target of x11-links assembles the tree of links
> > under work/ and uses "pax -rwpp" to copy it over to its final
> > location under /usr/pkg/share (or the equivalent on your machine).
> If you remove the "pp" part of the option, does it fix your issue? 

I just checked, and no it doesn't: pax still preserves the permissions
on the contents of share/x11-links (though x11-links itself is
installed with 755 permissions).  This presumably reflects the
difference between "the file" and "the entire hierarchy rooted at that
directory" (quotes from pax(1)).  I just checked cp(1) and it would have
the same behaviour according to the man page ("Created directories have
the same mode as the corresponding source directory, unmodified by the
process' umask").  Unless someone can point out the proper way of
replicating the link-farm without preserving permissions, I'm back to
suggesting that the hierarchy be constructed with the proper permissions
in the first place.  I'll try to come up with a patch in the next few

Ian Leroux