[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Best way to handle suid binary in ebuild
From:       Mike Gilbert <floppym () gentoo ! org>
Date:       2013-10-30 14:35:53
Message-ID: CAJ0EP43iU4tYADZ1XQBWJcSHCXNPFrFg2Bp=F5MSs3EY=p704g () mail ! gmail ! com
[Download RAW message or body]

On Wed, Oct 30, 2013 at 8:17 AM, Vincent-Xavier JUMEL
<endymion+gentoo@thetys-retz.net> wrote:
> Hi everyone,
>
> I'm developping and using a sympa ebuild for personnal use on a Gentoo
> box.
>
> In order to work correctly with postfix, sympa needs to have its binary
> /usr/libexec/queue and /usr/libexec/bouncequeue with the SUID bit
> activated.
>
> What is, in your opinion, the best way to handle it ?
> einfo ?
> setuid in post_install ?
>

In src_install:

fperms 4755 /usr/libexec/queue /usr/libexec/bountqueue

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic