On Sun, Mar 18, 2007 at 07:13:34PM +0100, [EMAIL PROTECTED] wrote: > So basic question : is NFS application able to use deny modes ?
No. > If not, how samba could check deny mode opening a file already opened by > an NFS client ? It can't, as there is no such thing in an NFS open. Essentially an NFS open has to map to "DENY_NONE". > Could byte range lock be a way to "share" deny modes between NFS and Samba > ? > DENY_WRITE would be F_RDLCK ? > DENY_READ would be F_WRLCK ? No, deny modes are deny modes, byte range locks are byte range locks. You can't mix the two. Under Windows DENY_WRITE doesn't create a byte range lock on the entire file. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
