useFileSystemPermissions

Sets the directory and file permissions for archived files to be read from the file system.

Any subsequent configuration of getDirPermissions or getFilePermissions will override this setting, but only for the specifically configured property.

Note: On Windows, file system permissions are not supported, and permissions will be set to 755 for directories and 644 for files.

This setting can also be applied to all archive tasks of the build via org.gradle.archives.use-file-system-permissions=true property.

Since

9.0.0