Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support Toggle between Light and Dark mode

AFP Share Screen

  4 minute read.

Last Modified 2022-05-08 17:09 EDT

Use the Sharing > AFP screen to set up an AFP share.

Sharing AFP Add

Use ADD to edit AFP share settings. Because AFP share creating is deprecated in 13.0 a Recommendation dialog displays. On that dialog:

  • Use CREATE AN SMB SHARE to display the SMB BASIC OPTIONS configuration screen.

  • Use CONTINUE WITH AFP SETUP to continue to the AFP > ADD BASIC OPTIONS configuration screen.

Use ADVANCED OPTIONS to display additional configuration settings that allow modifying the share Permissions, adding a Descritpion, and specifying any Auxiliary Parameters.

Sharing AFP Add Advanced



General Options

These settings display on the BASIC OPTIONS screen and after clicking ADVANCED OPTIONS.

SettingsDescritpion
PathBrowse to the pool or dataset to share. Netatalk does not fully support nesting additional pools, datasets, or symbolic links beneath this path.
NameThe pool name that appears in the connect to server dialog of the computer. This is a required field.
Time MachineSelect to advertise FreeNAS as a Time Machine disk so Macs can find it. Setting multiple shares for Time Machine use is not recommended. When multiple Macs share the same pool, low disk space issues and intermittently failed backups can occur.
Use as Home ShareSelect to allow the share to host user home directories. Only one share can be the home share.
EnabledSelect to enable this AFP share. Clear checkmark to disable this AFP share without deleting it.

Permissions

These settings display after clicking ADVANCED OPTIONS.

SettingsDescritpion
Default UmaskUmask is used for newly created files. Default is 000 (anyone can read, write, and execute).
File PermissionsOnly works with Unix ACLs. New files created on the share are set with the selected permissions.
Directory PermissionsOnly works with Unix ACLs. New directories created on the share are set with the selected permissions.
AFP3 Unix PrivsSelect to enable Unix privileges supported by OSX 10.5 and higher. Do not enable this if the network containes Mac OSX 10.4 clients or lower as they do not support this feature. Only works with Unix ACLs.
AllowComma-delimited list of allowed users and/or groups where groupname begins with a @. Note that adding an entry denies any user or group that is not specified.
Read OnlyComma-delimited list of allowed users and/or groups where groupname begins with a @. Note that adding an entry denies any user or group that is not specified.
Allow HostsAllow host names or IP addresses to connect to the share. Click ADD to add multiple entries. If neither Allow Hosts or Deny Hosts contains an entry, then AFP share access is allowed for any host. If there is an entry in Allow Hosts list but none in Deny Hosts list, then only allow hosts on the Allow Hosts list. If there is a entry in Deny Hosts list but none in Allow Hosts list, then allow all hosts that are not on the Deny Hosts list. If there are entries in both Allow Hosts and Deny Hosts list, then allow all hosts that are on the Allow Hosts list. If there is a host not on the Allow Hosts and not on the Deny Hosts list, then allow it.
DenyComma-delimited list of allowed users and/or groups where groupname begins with a @. Note that adding an entry allows any user or group that is not specified.
Read/WriteComma-delimited list of allowed users and/or groups where groupname begins with a @. Note that adding an entry allows any user or group that is not specified.
Deny HostsDeny host names or IP addresses access to the share. Click ADD to add multiple entries. If neither Allow Hosts or Deny Hosts contains an entry, then AFP share access is allowed for any host. If there is an entry in Allow Hosts list but none in Deny Hosts list, then only allow hosts on the Allow Hosts list. If there is an entry in Deny Hosts list but none in Allow Hosts list, then allow all hosts that are not on the Deny Hosts list. If there are entries in both Allow Hosts and Deny Hosts list, then allow all hosts that are on the Allow Hosts list. If there is a host not on the Allow Hosts and not on the Deny Hosts list, then allow it.

Other Options

These settings display after clicking ADVANCED OPTIONS.

SettingsDescritpion
DescriptionsOptional description.
Zero Device NumberSelect to enable when the device number is inconstant across a reboot.
No StatSelect to allow AFP to not stat the pool path when enumerating the pools list. This is useful for automounting or pools created by a preexec script.
Auxillary ParametersAdditional afp.conf parameters not covered by other option fields.

Use SUBMIT to save settings and create the share.

Use CANCEL to exit the Add screen without saving and return to the AFP screen.

To edit an existing AFP share, go to Sharing > Apple Shares (AFP) and click .

Additional Information

Adding an AFP share

Adding AFP Service