No, we _want_ the suid and sgid bits reverted by chown, for security reasons.
authorRob Landley <rob@landley.net>
Fri, 6 Jan 2006 18:22:05 +0000 (18:22 -0000)
committerRob Landley <rob@landley.net>
Fri, 6 Jan 2006 18:22:05 +0000 (18:22 -0000)
commitf8ec1b51f39b15d2d020934b2f3eb8d70e9da3e8
treecc713e60cce97b5aa6f661acb22d57378c083a42
parentc00411a16abc95cf55f0b949ef7325b88a5552cf
No, we _want_ the suid and sgid bits reverted by chown, for security reasons.
They mean something different when the user they're switching to is different,
so if you still want suid you reset it afterwards.  This is a safety feature.
coreutils/chown.c