permissions

abstract fun permissions(unixNumericOrSymbolic: String): ConfigurableFilePermissions(source)

Creates file/directory access permissions and initializes them via a Unix style permission string. For details see unix.

Doesn't have separate variants for files and directories, like other configuration methods, because the Unix style permission input completely overwrites the default values, so the distinction doesn't matter.

Since

8.3


abstract fun permissions(unixNumeric: Int): ConfigurableFilePermissions(source)

Creates file/directory access permissions and initializes them via a Unix style numeric permissions. For details see unix.

Doesn't have separate variants for files and directories, like other configuration methods, because the Unix style permission input completely overwrites the default values, so the distinction doesn't matter.

Since

8.3


Provider based version of permissions, to facilitate wiring into property chains.

Since

8.3