8Working 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:

Share1

 

 

path:

/Volumes/100GB

 

afp:

{

 

 

 

name:

Share1

 

 

shared:

1

 

 

guest access:

0

 

inherit

perms:

0

}

 

 

 

ftp:

{

 

 

 

name:

Share1

 

 

shared:

1

 

 

guest access:

1

}

 

 

 

smb:

{

 

 

 

name:

Share1

 

 

shared:

1

 

 

guest access:

1

 

inherit

perms:

0

 

oplocks:

 

0

 

strict locking:

0

 

directory mask:

493

 

create mask:

420 }

65

Page 65
Image 65
Apple oxs manual Listing Share Points, To list existing share points