[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] Re: [bug-diffutils] Does patch ignore Linux ACLs?

From: Paul Eggert
Subject: [bug-patch] Re: [bug-diffutils] Does patch ignore Linux ACLs?
Date: Fri, 15 Oct 2010 16:27:51 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100915 Thunderbird/3.0.8

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]