Each filesystem init uid,gid,mode on inode creation. gid inheritance is obey to posix rules. Usually this code is copy-pasted. Let's move this logic to separate function. In some filesystems it is not easy to replace the code, so i've simply skipped such fs. Skipped fs: xfs, hugetlbfs, gfs2, cifs, affs Some filesystems require less trivial code replacement so i've split the patch in to per-fs patch-set. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html