Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 28 Feb 2002 09:07:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 28 Feb 2002 09:04:55 -0500 Received: from mail.linpro.no ([213.203.57.2]:38922 "HELO linpro.no") by vger.kernel.org with SMTP id convert rfc822-to-8bit; Thu, 28 Feb 2002 09:02:55 -0500 To: linux-kernel@vger.kernel.org Subject: [BUG] capabilities From: knobo@linpro.no Date: 28 Feb 2002 15:02:49 +0100 Message-ID: Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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). -- Knut Olav B?hmer _ _ / / (_)__ __ ____ __ / /__/ / _ \/ // /\ \/ / ... The choice of a /____/_/_//_/\.,_/ /_/\.\ GNU generation export PAGER="od -x |less" - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/