api / org.gradle.api.file / CopyProcessingSpec / setDirMode

setDirMode

abstract fun setDirMode(mode: Int): CopyProcessingSpec

Sets the Unix permissions to use for the target directories. null means that existing permissions are preserved. It is dependent on the copy action implementation whether these permissions will actually be applied.

Parameters

mode - The directory permissions.

Return
this