Re: setgid - its current use

From: Denis Vlasenko
Date: Thu Apr 08 2004 - 02:42:36 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/