On Friday 12 December 2003 15:53, Behdad Esfahbod wrote: > The only way I can think of is: > > cp /usr/bin/myprog ~ > chmod g-s ~/myprog This is unnecessary. Copying doesn't set the "setuid" and "setgid" permission bits for the destination file.
[EMAIL PROTECTED] exercises]$ chmod u+s constructors [EMAIL PROTECTED] exercises]$ ls -l constructors -rwsr-xr-x 1 alex users 14517 Dec 2 14:00 constructors* [EMAIL PROTECTED] exercises]$ cp constructors constructors2 [EMAIL PROTECTED] exercises]$ ls -l constructors* -rwsr-xr-x 1 alex users 14517 Dec 2 14:00 constructors* -rwxr-xr-x 1 alex users 14517 Dec 12 17:51 constructors2* > ~/myprog > > behdad > -- Regards, Alex Chudnovsky e-mail : [EMAIL PROTECTED] ICQ : 35559910 ================================================================= 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]