You create qtrees using the qtree create command. You can also specify a UNIX-style permission for the new qtree.
- Enter the following command:qtree create path [-m mode]
mode is a UNIX-style octal number that specifies the permissions for the new qtree. If you do not specify a mode, the qtree is created with the permissions specified by the wafl.default_qtree_mode option.
For more information about the format of the mode number, see your UNIX documentation.
Note: If you are using this qtree in an NTFS-only environment, you can set the appropriate ACLs after creation using Windows tools.
is the path name of the qtree, with the following notes:
- If you want to create the qtree in a volume other than the root volume, include the volume in the name.
- If the path name does not begin with a slash (/), the qtree is created in the root volume.
- Qtree names can be up to 64 characters long. The entire path can be up to 1,024 characters long.
- If you want to change the default security style or the default CIFS oplocks setting of the new qtree, you can change it now by using the qtree security or qtree oplocks commands.
The following command creates the news qtree in the users volume, giving the owner and the owner’s group permission to read, write and execute the qtree:qtree create /vol/users/news -m 770
The following command creates the news qtree in the root volume:qtree create news