pkgsrc-Users archive

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

Re: post-install ownership on binaries



On Tue, 19 May 2009 17:53:55 +0200
Filip Hajny <filip%joyent.com@localhost> wrote:

> Hi all,
> 
> is there a way to have pkg_add automatically set desired ownership
> on binaries right after installing from a binary package? I'm
> hitting this problem with Postfix - I guess since the changeover of  
> pkg_install. Both postdrop and postqueue need to be
> postfix:maildrop, and while I see this ownership inside the binary
> package tarball, they get re-set to root:root after installing. I
> know the fix is 'postfix set-permissions' away, but it would be nice
> if the correct ownership were auto-set right away.
> 
> Am I missing something?
> 
Try adding a post-install rule in the pkgsrc Makefile to run
set-permissions, perhaps.  (I haven't tried this.)


Home | Main Index | Thread Index | Old Index