group

abstract fun group(configureAction: Action<in ConfigurableUserClassFilePermissions>)(source)

Modifies the permissions a user, who is a member of the group that the file/directory belongs to, has for the file/directory.

For further details on permissions see ConfigurableUserClassFilePermissions.

Note that the provided configuration action only applies incremental modifications on top of whatever permission the user has at the moment and that the default values permissions start out are different for files and directories (see UserClassFilePermissions).