Specifications

Appendix Command Line Parameters for File Services 143
Parameter Description
guestags A group of ags indicating which protocols allow
guest access.
The ags are written as a three-digit binary
number with the digits representing, from left to
right, AFP, FTP, and SMB.
1=guests allowed, 0=guests not allowed.
inheritags A group of ags indicating whether new items in
AFP or SMB share points inherit the ownership
and access permissions of the parent folder.
The ags are written as a two-digit binary
number with the digits representing, from left to
right, AFP and SMB.
1=inherit, 0=don’t inherit.
creationmask The SMB creation mask. Default=
0644.
directorymask The SMB folder mask. Default=
0755.
oplockag A parameter that species whether opportunistic
locking is allowed for an SMB share point.
1=enable oplocks, 0=disable oplocks.
strictlockingag A parameter that species whether strict locking
is used on an SMB share point.
1=enable strict
locking,
0=disable.
AFP Parameters
The following sections provide additional details about AFP parameters.
AFP Service Settings
You can congure the following AFP service settings using the serveradmin tool
in Terminal.
Parameter (afp:) Description
activityLog
Turn activity logging on or o.
Default =
no
activityLogPath
Location of the activity log le.
Default =
/Library/Logs/
AppleFileService/
AppleFileServiceAccess.log
activityLogSize
Rollover size (in kilobytes) for the activity log.
Used only if
activityLogTime isn’t specied.
Default =
1000