Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: e15b2e19e394f5d63183f01a2e72a14115a0c370
https://github.com/jenkinsci/jenkins/commit/e15b2e19e394f5d63183f01a2e72a14115a0c370
Author: David Reiss <[email protected]>
Date: 2012-05-08 (Tue, 08 May 2012)
Changed paths:
M changelog.html
M core/src/main/java/hudson/FilePath.java
M core/src/test/java/hudson/FilePathTest.java
Log Message:
-----------
[FIXED JENKINS-13202] Don't set mtime or mode on symlinks
Previously, the untar code tries to set the last modified time and mode
on every untarred file. However, if the tar contains a broken symlink,
or a symlink that points to a file that has not been untarred yet, the
time/mode setting would fail on the broken symlink.
Symlinks don't have meaningful modified times or modes of their own, so
only set these values on non-symlinks.
Rename the file "a" in the test to expose the bug.