On Tue, 2006-09-05 at 00:53 -0400, Trond Myklebust wrote: > On Tue, 2006-09-05 at 12:03 +0800, Ian Kent wrote: > > Sure but this is an old version of autofs which is in use so changing > > the expected behavior of a system call is not acceptable and I expect > > other applications may well have a problem with this also. > > Applications that rely on mkdir() to never return EACCES are broken. > Particularly so in an selinux system (as was the case here). That's not quite right. autofs v4 doesn't rely on mkdir never returning EACCESS just that it return EEXIST if the directory exists. Never the less if the behavior of stat will work in this case I'll change v4 to do it the way you suggest (as v5 does already). - 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