![]() This section enable sharing of the UNIX server user home directories. Parameters denoted by a (G) below are must be set in this section. Parameters in this section apply to the server as a whole. Path = /foo/bar SPECIAL SECTIONS The section The share is accessed via the share name baz: The user has full access to the path /foo/bar. The following sample section defines an AFP volume. The server does not grant more access than the host system grants. The access rights granted by the server are masked by the access rights granted to the specified or guest UNIX user by the host system. ![]() For any option specified both in a preset and in a volume section the volume section setting completely substitutes the preset option. For volumes the path option must specify the directory to share.Īny volume section without path option is considered a vol preset which can be selected in other volume sections via the vol preset option and constitutes defaults for the volume. The following notes apply to ordinary section descriptions.Ī volume consists of a directory to which access is being given plus a description of the access rights which are granted to the user of the service. There are two special sections, and, which are described under special sections. The section name is the name of the volume and the parameters within the section define the volume attributes and options. SECTION DESCRIPTIONSĮach section in the configuration file (except for the section) describes a shared resource (known as a “volume”). The file is included literally, as though typed in place. The parameter include = path allows you to include one config file inside another. Some items such as "file perm"s are numeric. Case is not significant in boolean values, but is preserved in string values. The values following the equals sign in parameters are all either a string (no quotes needed) or a boolean, which may be given as yes/no, 1/0 or true/false. Internal whitespace within a parameter value is retained verbatim.Īny line beginning with a semicolon (“ ”) or a hash (“#”) character is ignored, as are lines containing only whitespace.Īny line ending in a “ \ ” is continued on the next line in the customary UNIX fashion. Leading and trailing whitespace in a parameter value is discarded. Leading, trailing and internal whitespace in section and parameter names is irrelevant. Whitespace before or after the first equals sign is discarded. Only the first equals sign in a parameter is significant. Section and parameter names are case sensitive. The file is line-based - that is, each newline-terminated line represents either a comment, a section name or a parameter. Sections contain parameters of the form: name = value A section begins with the name of the section in square brackets and continues until the next section begins. The file consists of sections and parameters. The afp.conf file is the configuration file for the Netatalk AFP file server.Īll AFP specific configuration and AFP volume definitions are done via this file. ![]() To read the man page for afp.conf in Linux: ~]$ man 5 afp.conf NAMEĪfp.conf - Netatalk configuration file SYNOPSIS but it doesn't, still the same result.Linux Home > Manual Sections > 5 > afp.conf afp.conf(5) - Linux Man Page I tried setting umask option to 0000 thinking OR'ed with "file perm" and "directory perm" would get me to "force". We previously used samba which allowed forcing permissions: create mask = 660 However this is being OR'ed with client requested permissions (according to the afp.conf manual and my manual source code verification. My volume settings are the following: file perm = 0660 3 owner shared_group 4096 Nov 10 22:31 test_folder a new directory in the share, it results in: drwxrwsr-x. Group inherit is handled by setgid bit on parent/root directory and works just fine, however when I create eg. I'm trying to setup a AFP share and get afpd/netatalk to force the permissions on newly created files/directories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |