capistrano/capistrano — pull request #368 by wildoats (2013-01-29 23:28:32+00:00)
Title: Update both asset mtime and atime with touch

We use multiple users with common group permissions to deploy. Since touch uses the utime library, a user can't set the mtime of a file even if they have write permissions unless they are the owner of the file. Since many production systems mount the file system with noatime anyways for performance, my suggestion is we update both atime and mtime on assets so that deploying with group write permissions still works.

This issue came to light in 2.14.0 with commit 8412ccfd, because the touch command is no longer run silently. It was silently failing before but is not preventing a successful deployment.