For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

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