2.4.1 bug in mkdir(2)

Mike Ashton (mike@parasolsolutions.com)
Fri, 23 Feb 2001 16:10:09 +0000


mkdir("file", 02750) does not create a file with the set group id bit
set. chmod("file", 02750) does. Further more, mkdir(2) violates its
man page specification by not creating set-gid directories if the
parent directory has this bit set.

I suspect these are related.

Cheers,
Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/