Re: [CentOS] chown and chgrp on 4.5 vs 5.0

2007-08-15 Thread Rodrigo Barbosa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Aug 15, 2007 at 01:56:45PM -0400, Jerry Geis wrote: > I just noticed that on centso 4.5 I have an executable with the +s (chmod +s > myexe) > doing a chmod root myexe and chown root myexe does NOT affect the +s > setting. > > However, o

Re: [CentOS] chown and chgrp on 4.5 vs 5.0

2007-08-15 Thread Ignacio Vazquez-Abrams
On Wed, 2007-08-15 at 13:56 -0400, Jerry Geis wrote: > However, on centos 5 this is not the case. > chmod +s myexe > chown root myexe or chgrp root myexe > will DROP the +s status. > > How can I get around this? > I want to keep the owner, group, world settings. $ gcc -o innocuous -x c - << EOF >