Hi!

> On Tue, 2014-08-12 at 23:42 -0500, Matthew D. Fuller wrote:
> > On Tue, Aug 12, 2014 at 09:31:08PM -0700 I heard the voice of
> > Dennis Glatting, and lo! it spake thus:
> > > 
> > > do_install in the Makefile does the chown.
> > 
> > Generally you'd want to do something more like using @owner/@group in
> > plist, rather than chown'ing in the stage.  Doing that would break
> > building as non-root, too.
> 
> What's the order? plist cannot change owner/group unless it is defined.
> Or, does plist execution happen /after/ the make process creates the
> owner/group entries?

If you some file bin/myfile1 in the pkg-plist which need to be owned by some
user etc, then:

[...]
bin/myfile0
@owner www
@group www
bin/myfile1
@owner root
@group wheel
bin/myfile2
[...]

should probably work. Can you try it ?

-- 
p...@opsec.eu            +49 171 3101372                         6 years to go !
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to