text stringlengths 0 4.23k |
|---|
macfile directory[/server:\\<computername>] /path:<directory> [/owner:<ownername>] [/group:<groupname>] [/permissions:<permissions>] |
Parameters |
Parameter |
Description |
/server:\\<computername> |
Specifies the server on which to change a directory. If omitted, the operation is performed on the local computer. |
/path:<directory> |
Specifies the path to the directory that you want to change. This parameter is required. Note: The directory must exist, using macfile directory won't create directories. |
/owner:<ownername> |
Changes the owner of the directory. If omitted, the owner name won't change. |
/group:<groupname> |
Specifies or changes the Macintosh primary group that is associated with the directory. If omitted, the primary group remains unchanged. |
/permissions:<permissions> |
Sets permissions on the directory for the owner, primary group, and world (everyone). This must be an 11-digit number, where the number 1 grants permission and 0 revokes permission (for example, 11111011000). If this parameter is omitted, permissions remain unchanged. |
/? |
Displays help at the command prompt. |
\\<computername> |
<directory> |
<ownername> |
<groupname> |
<permissions> |
Position of permissions digit |
The position of the permissions digit determines which permission is set, including: |
Position |
Sets Permission |
First |
OwnerSeeFiles |
Second |
OwnerSeeFolders |
Third |
OwnerMakechanges |
Fourth |
GroupSeeFiles |
Fifth |
GroupSeeFolders |
Sixth |
GroupMakechanges |
Seventh |
WorldSeeFiles |
Eighth |
WorldSeeFolders |
Ninth |
WorldMakechanges |
Tenth |
The directory can't be renamed, moved, or deleted. |
Eleventh |
The changes apply to the current directory and all subdirectories. |
Remarks |
If the information that you supply contains spaces or special characters, use quotation marks around the text (for example, "<computer name>"). |
<computer name> |
Use macfile directory to make an existing directory in a Macintosh-accessible volume available to Macintosh users. The macfile directory command doesn't create directories. |
Use File Manager, the command prompt, or the macintosh new folder command to create a directory in a Macintosh-accessible volume before you use the macfile directory command. |
Examples |
To assign See Files, See Folders, and Make changes permissions to the owner, to set See Folder permissions to all other users, and to prevent the directory from being renamed, moved, or deleted, type: |
macfile directory /path:e:\statistics\may sales /permissions:11111011000 |
Where the subdirectory is May sales, located in the Macintosh-accessible volume Statistics, on the E:\ drive of the local server. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.