directory

Name

directory  --  install a directory

Synopsis

directory {directory} [mode=mode] [owner=user] [group=group]

Description

directory adds a command that creates a directory in the files target while setting its permission modes, owner and group. destination is the absolute name, in the target directory of the build type used, of the directory to be created.

Options

group=group

Set the group ownership of the installed directory to group. The default is the current group of the process. group may be either a group name or a numeric group id.

mode=mode

Set the permissions for the installed directory to mode. The format of mode is the same as the format of the -m option of the install program. The default mode is 0755, i.e. read, write and execute for the owner, and read and execute for group and other.

owner=user

Set the ownership of the installed directory to user. The default is root. user may be either a user name or a numeric user ID.

Example

Create /usr/share/doc/ in the target file system:

    directory /usr/share/doc mode=0755 owner=root group=root
    

See Also

buildtype(3), file(3), symlink(3)