Rarely would a build process that is publishing a package have permissions to set file ownership as root. So this leaves postprocessing as the only choice, which greatly diminishes the usefulness of the tool.
Tom

Danek Duvall wrote:
On Fri, May 30, 2008 at 03:44:09PM -0500, Tom Mueller (pkg-discuss) wrote:

Maybe another option would be to provide some optional arguments to the import directive:

pkgsend import <dir> [filemode=<mode>] [exemode=<mode>] [owner=...] [group=...] [other tags...]

This is what I meant by "turning into a mess".  Just set the modes the way
you want them in your install process, and, if you've permissions, set the
owner and group.  If not, then postprocess.

Danek

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to