bug-patch
[Top][All Lists]
Advanced

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

Re: [bug-patch] patch-2.7


From: Russ Whitaker
Subject: Re: [bug-patch] patch-2.7
Date: Thu, 10 Apr 2014 22:18:37 -0700 (PDT)
User-agent: Alpine 2.11 (LNX 23 2013-08-11)



On Thu, 10 Apr 2014, Andreas Grünbacher wrote:

Russ,

2014-04-09 6:53 GMT+02:00 Russ Whitaker <address@hidden>:
Applying patch using --verbose I get:

  Hunk#1 succeeded
  Changing attruvutes for <filename>: Operation not supported

when compiled in, patch tries to preserve file attributes, for example:

$ echo a > f
$ setfattr -n user.name -v value f
Trying your example, got "Operation not supported" here, too.

$ cat > ab.diff
--- f
+++ f
@@ -1 +1 @@
-a
+b
^D
$ patch f < ab.diff
Used strace, resulting strace output attached.

$ getfattr -d f
# file: f
user.name="value"

I assume you get the error message with and without --verbose.
Yes.

What does strace show in your case?
Thank you for reminding me of strace, I had forgotten it.
Only thing I noticed in the strace output was /etc/xattr.conf not found.
Slackware attr package doesn't have an xattr.conf either.

What would you suggest?

Russ

Andreas

Attachment: patchbug
Description: strace output


reply via email to

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