# getFileMode

@Nullable
abstract fun getFileMode(): Integer(source)

### Deprecated

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

#### Return

The file permissions, or `null` if existing permissions should be preserved.

#### Deprecated

Use getFilePermissions instead. This method is scheduled for removal in Gradle 9.0.