On Fri, 14 Jan 2011 23:01:12 -0600 Shirish Pargaonkar <shirishpargaonkar@xxxxxxxxx> wrote: > > Jeff, Thanks. Need to think this over. > > Wish there were a commands/subcommands like getpathinfo > and gethandleinfo with infolevels to determine what functions > GetEffectiveRightsFromAcl and AccessCheckByType provide. > > Perhaps these are Windows APIs providing these type of services > and there is a named pipe providing these services. Even if there were, there would be nothing preventing the access rights from changing after you fetch the permissions but before you enforce them. That's a situation that can't be prevented if you're relying on the client to enforce permissions. -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html