CIFS locks have two parts; basically "What I want to Do" and "What I am going to prevent others from doing".
"What I want to Do" EXEC == read + execute R&W == read + write Read read Write write
"What I am going to prevent others from doing".
DenyAll exclusive access to file DenyR others cannot read the file, but can write DenyW others cannot write file, but can read DenyN others can read or write the file DOS special compatibility mode for DOS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > mailto: hawleyr@netapp.com mailto:hawleyr@netapp.com US Mail: Network Appliance Inc. > Phone: 408-822-6661 2770 San Tomas Expressway > FAX: 408-822-4521 Santa Clara, CA 95051
-----Original Message----- From: Todd C. Merrill [mailto:tmerrill@mathworks.com] Sent: Tuesday, June 22, 1999 2:24 PM To: toasters@mathworks.com Subject: list of file lock types
When you do a 'cifs sessions host/user', you get a list like:
users shares/files opened
machine (user) share Exec-denyW \path R&W-denyAll \path Read-denyAll \path Read-denyN \path Read-denyW \path Write-denyN \path Write-denyW \path
Where can I find a comprehensive list of these locks, and what they mean? Most are self-explanatory; but, for instance, what is "N" stand for?
NetApp Release 5.2.1P2: Tue Mar 16 10:41:03 PST 1999
Until next time...
Todd C. Merrill The Mathworks, Inc. 508-647-7792 24 Prime Park Way, Natick, MA 01760-1500 508-647-7012 FAX tmerrill@mathworks.com http://www.mathworks.com ---