In our setup the builds dir is a symlink to a network filesystem, hence Jenkins user has write permissions but is not owner of that directory. When trying to archive artifacts following error occurs:
This is a regression between 2.107.3 and 2.121. Problem is that FilePath.copyRecursiveTo (https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/FilePath.java ) is now using
and the COPY_ATTRIBUTES flag does triggers the "operation not permitted" error (timestamp can't be changed in directory not owned by jenkins).