On Wed, Sep 10, 2014 at 04:18:12PM -0400, J. Bruce Fields wrote: > This checks that the stateid's openmode is write but not that the caller > has permission to write. I think you want an nfsd_permission() check in > nfsd4_vfs_allocate. > > (Incidentally, the spec doesn't say anything about checking either, I > wonder if it should?) Yes, it probably should. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html