bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in chgrp (GNU fileutils) 4.0p


From: Matt Perry
Subject: Bug in chgrp (GNU fileutils) 4.0p
Date: Fri, 1 Dec 2000 15:05:59 -0800 (PST)

I have found a bug in chgrp (GNU fileutils) 4.0p.

When changing the group of a file that is has the suid bit set, it removes
the suid bit when changing the group.

Example:

# ls -l wrapper
-rwsrwxr-x    1 root     users       15035 Dec  1 13:24 wrapper
   ^ suid bit is set

# chgrp majordom wrapper

# ls -l wrapper
-rwxrwxr-x    1 root     majordom    15035 Dec  1 13:24 wrapper
   ^ suid bit was removed

This is clearly a bug as chgrp should only be modifying the group of a
file and not touching the permissions.

-- 
Matt Perry
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]