Hi,
On Thu, Feb 17, 2005 at 10:58:28AM +0300, Kirill Korotaev wrote:
> I recently found that chown tries to keep SUID bit the same as it was
> for previous user. I think it is totally wrong and unsecure!
This is no longer true. According to coreutils ChangeLog,
2003-07-12 Jim Meyering <address@hidden>
* src/chown-core.c (change_file_owner): Do not restore any special
permission bits (e.g., set-user-ID, set-group-ID) that are reset
by chown(2) on some systems. Suggestion and insistence :-) from
Michael Stone.
--
ldv