When you create a share, you must provide
You can select from a list of permissions, or enter specific permissions for each user or a group of users.
When you create a share, you can optionally specify
The share description appears in the Comment field when you browse the shares on the network.
If you create the share from the Data ONTAP command line, you can also specify the following share properties:
After you have created a share, you can specify these share properties:
If you do not specify a number, the number of users is limited by storage system memory. For more information about how storage system memory affects the number of users who can connect to the storage system simultaneously, see Managing ACLs.
Share naming conventions for Data ONTAP are the same as for Windows. For example, share names ending with the $ character are hidden shares, and certain share names, such as ADMIN$ and IPC$, are reserved.
Share names are not case-sensitive.
When you create a share from the Data ONTAP command line, you can specify that all files created by CIFS users in that share belong to the same group, which must be a predefined group in the UNIX group database. The group you specify is called a "forcegroup."
The following list describes what happens to files created by CIFS if the share has a forcegroup:
When CIFS users try to access a file created by NFS, the CIFS users' primary GIDs determine access rights.
The forcegroup does not affect how NFS users access files in this share. A file created by NFS acquires the GID from the file creator. Determination of access permissions is based on the UID and primary GID of the NFS user who is trying to access the file.
Using a forcegroup makes it easier to ensure that files can be accessed by CIFS users belonging to various groups. For example, if you want to create a share to store the company's Web pages and give write access to users in Engineering and Marketing, you can create a share and give write access to a forcegroup named "web." Because of the forcegroup, all files created by CIFS users in this share are owned by the web group. In addition, users are automatically assigned the GID of the web group when accessing the share. As a result, all the users can write to this share without your managing the access rights of the Engineering and Marketing groups.
Specifying a forcegroup is meaningful only if the share is in a UNIX or mixed qtree. There is no need to use forcegroups for shares in an NTFS qtree because access to files in these shares is determined by Windows permissions, not GIDs.
When you create a share using the Computer Management snap-in for Microsoft Management Console (MMC), you can specify the share-level ACL. If you use the Data ONTAP command line, you can specify the share-level permissions only after a share has been created. By default, a newly created share gives everyone Read access. For more information about share-level ACLs, see Applying Group Policy Objects.
You disable share boundary checking for symbolic links for a share if you want to allow CIFS clients to follow symbolic links in that share to destinations anywhere on the same storage system. If share boundary checking is disabled, the storage system checks the share permissions only of the share that has the symbolic link. By default, the storage system does share boundary checking for symbolic links to prevent users from accessing files outside the share.
When you create a share from the Data ONTAP command line, you can disable share boundary checking for symbolic links by specifying the option
-nosymlink_strict_security. When you change share properties from the command line, you can specify -symlink_strict_security or
-nosymlink_strict_security to enable or disable share boundary checking for symbolic links.
For details about disabling share boundary checking for symbolic links, see About disabling share boundary checking for symbolic links.
You enable wide symbolic links for a share if you want to allow CIFS clients to follow absolute symbolic links to destinations outside the share or outside your storage system. By default, this feature is disabled.
When you create a share from the Data ONTAP command line, you can add support for wide symbolic links by specifying -widelink. When you change share properties from the command line, you can specify either
-widelink or -nowidelink to enable or disable wide symbolic links.
After you enable wide symbolic links, you need to create Widelink entries in the /etc/symlink.translations file to specify how the storage system determines the destination of each wide symbolic link. For more information about how to create Widelink entries and additional requirements, see About Widelink entries. For more information about how to enable support for wide symbolic links in home directory shares, see Managing home directories.
You can set the file mode creation umask for shares in qtrees with either UNIX or mixed security styles. The umask determines the permissions setting of newly created files. The umask must be an octal value. The default umask value is 0.
When you create a share from the Data ONTAP command line, you can specify the umask using the command -umask mask. When you change share properties from the command line, you can reset the umask value back to 0 using the command -noumask, or you can specify a different umask value using -umask mask.
The following example turns off write access for "group" and "other" permissions when a file is created.
-umask 022
Note
The CIFS share umask value does not affect NFS.
You can specify whether the storage system performs a virus scan when clients open files on a share. You can also specify whether a virus scan is performed when clients open files for read-only access. Virus scanning for all opened files is turned on by default for new shares.
When you create a share from the Data ONTAP command line, you can turn off virus scanning as follows:
When you change share properties from the command line, you can turn virus scanning on or off as follows:
For more information about specifying virus scanning for CIFS shares, see the Data Protection Guide.
Client-side caching allows files to be cached for offline use on Windows 2000, XP, or 2003 clients. You can specify whether Windows clients are allowed to cache files on a share. You can also specify whether Windows user documents and programs are automatically cached on a share or whether the files must be manually selected for caching. Manual caching is enabled by default for new shares.
When you create a share from the Data ONTAP command line, you can specify the following:
When you change share properties from the command line, you can specify the following:
Note
You can also set client-side caching properties for a share using the Computer Management application on Windows 2000, XP, and 2003 clients.
To connect to your storage system using the Microsoft Management Console (MMC), complete the following steps.
To create a share (publish a resource, such as a file or directory) using the MMC, complete the following steps.
| 1 | |
| 2 |
Connect to the storage system using the MMC as described in Connecting to the storage system using MMC. |
| 3 |
Perform the following actions to launch the Share a Folder wizard in the MMC: |
| 4 |
Follow the instructions in the Share a Folder wizard to share the folder, qtree, or volume you created in Step 1. For a list of information you need to successfully complete the Share a Folder Wizard, see Information you need to create a share. |
To create a share from the Data ONTAP command line, complete the following step.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01086_B0
File: 3cifs7.htm
Last updated: 08-Dec-2005 13:19:35