Files saved via the "Archive the artifacts" mechanism lose their file access bits.
In the workspace, the file is:
-rwxr-xr-x 1 jenkins nogroup 577 2012-06-30 09:23 XXtool
in the archive dir, it shows up as:
rw-rr- 1 jenkins nogroup 577 2012-06-30 09:32 XXtool
There's no way that I can see to preserve the file permissions.
It seems to be not an issue of the Arifactdeployer Jenkins plugin.
For the ArtifactDeployer plugin, the entry point is "[ArtifactDeployer] - Deploy artifacts from workspace to remote directories".
Also happens on Mac 10.8 and jenkins 1.516.
And I think it is such a common requirement.