On Mon, Mar 14, 2011 at 2:17 PM, Ben Hutchings <b...@decadent.org.uk> wrote:
> On Mon, 2011-03-14 at 09:17 +0100, Sebastian Harl wrote:
> [...]
>> > > Would it be fine to do that in postinst?
>> >
>> > It must be done in postinst, and you may need to fall back to setuid if
>> > the filesystem does not support setcap.
>>
>> Do you know of a way to find out if the filesystem supports setcap
>> (other than trying out ;-))?
>
> No, I don't think there's a way to do that programmatically.  You would
> just have to try capset and then chmod u+s.

Shouldn't this be done via DH instead of duplicating this code into
lots of postinsts?


-- 
Olaf


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=gnudgc6cvqn4hvg2my9zrvrn2ytmvlobe+...@mail.gmail.com

Reply via email to