Wydawca (split by node):   Section:   Chapter:FastBack: configuring   Up: configuring   FastForward: wydawca.conf   Contents: Table of ContentsIndex: Concept Index

4.10 Directory Setup

Wydawca operates on three kinds of directories: spool source directories (see source), destination directories (see destination) and archive directories (see archivation). By default, wydawca assumes that all directories specified in its configuration file already exist and have proper ownership and modes. It will abort if it is not so.

You can configure wydawca to create these directories as needed, and to set up their ownership and modes automatically.

Config: create-directories bool

If set to ‘yes’, this statement instructs wydawca to create any missing directories.

Config: directory-mode mode

Specifies the mode for created directories (in octal). If the directory already exists, its mode will be checked and if necessary changed to mode.

This statement is overridden by per-directory statements: source-mode and destination-mode statements in spool block (see spool) and directory-mode statement in archive block (see archivation).

Config: directory-owner uid gid

Configures owner user and group IDs for source, destination and archive directories.

The uid argument is either a numeric UID prefixed with a plus sign, or a symbolic user name, which will be converted to the numeric UID using the system user database. If a number without the ‘+’ prefix is supplied, it will first be looked in the password database as the user name, and, if no such user is found, it will be used as the numeric UID.

The same holds for the gid argument.

This statement is overridden by per-directory statements: source-owner and destination-owner statements in spool block (see spool) and directory-owner statement in archive block (see archivation).

Notice, that both directory-mode and directory-owner apply only to the last component of the created directory (‘basename’). Any intermediate directories are created with default mode and ownership.

Wydawca (split by node):   Section:   Chapter:FastBack: configuring   Up: configuring   FastForward: wydawca.conf   Contents: Table of ContentsIndex: Concept Index