# permissions

abstract fun permissions(unixNumericOrSymbolic: String): ConfigurableFilePermissions

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

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

abstract fun permissions(permissions: Provider<String>): Provider<ConfigurableFilePermissions>

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

#### Since

8.3