Behdad Esfahbod wrote:

The only way I can think of is:

cp /usr/bin/myprog ~
chmod g-s ~/myprog
~/myprog



That, or mounting that file system with nosuid option, but this is probably not what you want.... :)

Shachar.

behdad

On Fri, 12 Dec 2003, Noam Meltzer wrote:



Hi,
Assume a situation where I have a program, lets sat: /usr/bin/myprog
which the permissions on it are: rwxr-sr-x
now, i'm not the owner of the program, but a member of its group.
but, i don't want to run this program and getting it change my effective
gid.
is there a way preventing it from doing so?

10x,
Noam



================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]

.







=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to