Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262009AbUDHHli (ORCPT ); Thu, 8 Apr 2004 03:41:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263146AbUDHHli (ORCPT ); Thu, 8 Apr 2004 03:41:38 -0400 Received: from 168.imtp.Ilyichevsk.Odessa.UA ([195.66.192.168]:34825 "HELO port.imtp.ilyichevsk.odessa.ua") by vger.kernel.org with SMTP id S262009AbUDHHlh convert rfc822-to-8bit (ORCPT ); Thu, 8 Apr 2004 03:41:37 -0400 Content-Type: text/plain; charset=US-ASCII From: Denis Vlasenko To: Dhruv Gami , linux-kernel@vger.kernel.org Subject: Re: setgid - its current use Date: Thu, 8 Apr 2004 10:41:24 +0300 X-Mailer: KMail [version 1.4] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: <200404081041.25006.vda@port.imtp.ilyichevsk.odessa.ua> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 866 Lines: 21 On Thursday 08 April 2004 04:46, Dhruv Gami wrote: > Hello Everyone, > > A long time back there was discussion over setuid/setgid and how its been > replaced by Capabilities (This is what i understood from the > archives...please correct me if im wrong). > > I'd like to know the possibility of using setgid for users to switch their > groups and work as a member of a particular group. Essentially, if i want > one user, who belongs to groups X, Y and Z to create a file as a member of > group Y while he's logged on as a member of group X, would it be possible > through setgid() ? it is possible through chmod -- vda - 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/