On 10/15/10 16:11, Thomas Keller wrote: > And suddenly the test file lost its ACL - do'h!
The file didn't lose its ACL. What happens is that a copy was created, and then renamed over the original. At one point chmod is applied to the copy, so that it has the right permissions. That's what removes the default ACL. This does appear to be a bug. One possible fix would be for 'patch' to not do the chmod unless it really needs to, which typically it doesn't. This bug report really belongs in bug-patch, by the way, so I'll CC: this followup here. The original thread is at <http://lists.gnu.org/archive/html/bug-diffutils/2010-10/msg00015.html>.
