possible chgrp(1) bug

Guy Harris auspex!guy at uunet.uu.net
Fri Dec 30 07:54:47 AEST 1988


 >This shows that chmod changes the protection of the file (as it should),
 >but chgrp changes the group of the link (shouldn't it change the file's
 >group?).

This dates back to 4.2BSD.  The "chmod" system call follows links, but the
"chown" system call doesn't.  I remember hearing various reasons why this
was done, but I don't remember them sufficiently well to reconstruct them.



More information about the Comp.sys.sun mailing list