The read-only bit is a bit that is set on a file-by-file basis to reflect whether a file is writable or read-only.
CIFS clients that use MS-DOS and Windows can set a per-file read-only bit. NFS clients do not set a per-file read-only bit because NFS clients do not have any protocol operations that use a per-file read-only bit.
Data ONTAP sets a read-only bit on a file when a CIFS client that uses MS-DOS or Windows creates that file. Data ONTAP can also set a read-only bit when a file is shared between NFS clients and CIFS clients because some software, when used by NFS clients and CIFS clients, requires that the read-only bit reflects whether the file is writable.
For Data ONTAP to keep the appropriate read and write permissions on a file shared between NFS clients and CIFS clients, it treats the read-only bit according to the following rules:
Note
Changes to a file's permissions appear immediately on CIFS clients, but might not appear immediately on NFS clients if the NFS client enables attribute caching.
Windows does not allow you to delete a file with the read-only bit set. Some multiprotocol source control applications require UNIX delete semantics; files for these applications with the read-only bit set also cannot be deleted.
To allow deletion of files using UNIX delete semantics when the read-only bit is set, complete the following step.
| 1 |
options cifs.perm_check_ro_del_ok on |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00323
File: multi4.htm
Last updated: 01/15/03 15:46:09