AppleVolumes.default(5)

NAME
AppleVolumes.default - Configuration file used by afpd(8) to determine the shares made available through Appletalk

DESCRIPTION
/usr/local/etc/AppleVolumes.default is the configuration file used by afpd to determine what portions of the file system will be shared via Appletalk, as well as their behaviors. Any line not prefixed with # is interpreted. The configuration lines are composed like:

    path [ chooser name ] [ options ]

The path name must be a fully qualified path name, or a path name using either the ~ shell shorthand or any of the substitution variables, which are listed below. The chooser name is the name that appears in the Chooser on Macintoshes to represent the appropriate share. If there are spaces in the name, it should be in quotes (i.e. "File Share"). The chooser name may not exceed 27 characters in length, and cannot contain the : character. The possible options and their meanings are:

allow:[users/groups]
    The allow option allows the users and groups that access a share to be specified. Users and groups are specified, delimited by commas. Groups are designated by a @ prefix. Example: allow:user1,user2,@group

casefold:[option]
    The casefold option handles how casenames should be mangled. The available options are: tolower - Lowercases names in both directions. toupper - Uppercases names in both directions. xlatelower - Client sees lowercase, server sees uppercase. xlateupper - Client sees uppercase, server sees lowercase.

codepage:[nls file]
    The codepage option loads a specific codepage from the nls directory.

dbpath:[path]
    Sets the database information to be stored in path.

deny:[users/groups]
    The deny option specifies users and groups who are not allowed access to the share. It follows the same format as the allow option.

options:[option]
    This allows multiple options to be specified in a comma delimited format. The available options are: crlf - Enables crlf translation for TEXT files. dropbox - Allows a volume to be declared as being a "dropbox." Note that netatalk must be compiled with dropkludge support for this to function. limitsize - Hack for older Macintoshes using newer Appleshare clients to limit the disk size reporting to 2 GB. mswindows - Forces filename restrictions imposed by MS WinXX, and invokes the MS default codepage (iso8859-1) if one is not already specified. noadouble - Forces afpd to not create .AppleDouble unless a resource fork needs to be created. nohex - Disables :hex translations for anything except dot files. This option makes the / character illegal. prodos - Provides compatibility with Apple II clients. ro - Specifies the share as being read only for all users. usedots - Don't do :hex translation for dot files. This makes all files such as .Parent, .Apple* illegal. Dot files created on the server side will be invisible to the client.

password:[password]
    This option allows you to set a volume password, which can be a maximum of 8 characters long.

rolist:[users/groups]
    Allows certain users and groups to have read-only access to a share. This follows the allow option format.

rwlist:[users/groups]
    Allows certain users and groups to have read/write access to a share. This follows the allow option format.

The variables which can be used for subsitutions are:

$c  client's ip or appletalk address

$f  full name (contents of the gecos field in the passwd file)

$g  group name

$h  hostname

$s  server name (this can be the hostname)

$u  user name (if guest, it is the user that guest is running as)

$v  volume name (either ADEID_NAME or basename of path)

$z  appletalk zone (may not exist)

$$  prints dollar sign ($)

SEE ALSO
afpd(8)