user

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

Modifies the permissions the owner of the file 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).