GroupOwner

Name

GroupOwner -- Change default group for new files and directories

Synopsis

GroupOwner [ GroupOwner groupname]

Default

None

Context

<Anonymous>, <Directory>, .ftpaccess

Module

mod_core

Compatibility

0.99.0 and later

Description

The GroupOwner directive configures which group all newly created directories and files will be owned by, within the context that GroupOwner is applied to. The group ID of groupname cannot be 0. Note that GroupOwner cannot be used to override the host OS/file system user/group paradigm. If the current user is not a member of the specified group, new files and directories will not be able to be chown()ed to the GroupOwner group. If this happens, file STOR (send file from client to server) and MKD/XMKD (mkdir) operations will succeed normally, however the new directory entries will be owned by the current user's default group (a warning message is also logged) instead of by the desired group. If you also use UserOwner in the same context, this restriction is lifted.

See also

UserOwner

Examples

Рейтинг@Mail.ru