Skip to contentSkip to conversation

capabilities

BUG [email protected] 1 participant 1 message Feb 28, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

Dropping the capability CAP_FSETID by itself does not work (and that is probably correct), but when I drop CAP_CHOWN, CAP_FSETID works for the group id, but not user id. I guess this is a bug (ref include/linux/capability.h).

It does not look like dropping the CAP_SETGID (dropping CAP_SETGID works in combination with dropping CAP_CHOWN) and CAP_SETUID works either. Maybe they need to be dropped in combination with some other capability? If so, it shod be more clear in the documentation (cabability.h).

Signature · 7 lines
Knut Olav Bøhmer
         _   _
       / /  (_)__  __ ____  __
      / /__/ / _ \/ // /\ \/ /  ... The choice of a
     /____/_/_//_/\.,_/ /_/\.\         GNU generation

export PAGER="od -x |less"