Download Mac OS X Server Command-Line Administration Guide
Transcript
LL2354.book Page 65 Monday, October 20, 2003 9:47 AM
8
Working With File Services
8
Commands you can use to create share points and
manage AFP, NFS, Windows (SMB), and FTP services in
Mac OS X Server.
Share Points
You can use the sharing tool to list, create, and modify share points.
Listing Share Points
To list existing share points:
$ sharing -l
In the resulting list, there’s a section of properties similar to the following for each share
point defined on the server. (1 = yes, true, or enabled. 0 = false, no, or disabled.)
name:
path:
afp:
}
ftp:
}
smb:
Share1
/Volumes/100GB
{
name:
Share1
shared: 1
guest access:
inherit perms:
0
0
{
name:
Share1
shared: 1
guest access:
1
{
name:
Share1
shared: 1
guest access:
inherit perms:
oplocks:
strict locking:
directory mask:
create mask:
1
0
0
0
493
420 }
65