diff --git a/dump-rh568457.patch b/dump-rh568457.patch
new file mode 100644
index 0000000..975e28b
--- /dev/null
+++ b/dump-rh568457.patch
@@ -0,0 +1,13 @@
+diff -up ./dump-0.4b42/restore/xattr.c.rh568457 ./dump-0.4b42/restore/xattr.c
+--- ./dump-0.4b42/restore/xattr.c.rh568457	2008-06-09 15:25:40.000000000 +0200
++++ ./dump-0.4b42/restore/xattr.c	2010-03-04 11:28:40.649246489 +0100
+@@ -424,6 +424,9 @@ xattr_cb_set(char *name, char *value, in
+ 	char *path = (char *)private;
+ 	int err;
+ 	
++	if(Nflag)
++		return GOOD;
++	
+ 	isSELinux;
+ #ifdef TRANSSELINUX			/*GAN6May06 SELinux MLS */
+ 	if (isSELinux)
diff --git a/dump.spec b/dump.spec
index 6c2f5a9..844658d 100644
--- a/dump.spec
+++ b/dump.spec
@@ -7,7 +7,7 @@ Summary: Programs for backing up and restoring ext2/ext3 filesystems
 Name: dump
 Epoch: 1
 Version: 0.4
-Release: 0.4.%{PREVER}%{?dist}
+Release: 0.5.%{PREVER}%{?dist}
 License: BSD
 Group: Applications/Archiving
 URL: http://dump.sourceforge.net/
@@ -24,6 +24,7 @@ Obsoletes: dump-static
 Provides: dump-static
 
 Patch0: dump-rh507948.patch
+Patch1: dump-rh568457.patch
 
 %description
 The dump package contains both dump and restore. Dump examines files
@@ -50,6 +51,7 @@ restoring files from a backup), and tar (an archiving program).
 %setup -q -n dump-%{VERSION}
 
 %patch0 -p1 -b .rh507948
+%patch1 -p2 -b .rh568457
 
 for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
     iconv -f iso-8859-1 -t utf-8  $i -o $i.new
@@ -124,6 +126,9 @@ rm -rf %{buildroot}
 %{_mandir}/man8/rmt.8*
 
 %changelog
+* Thu Mar 4 2010 Jan Görig <jgorig redhat com> 0.4-0.5.b42
+- don't set extended attributes when in read only mode (#568457)
+
 * Wed Feb 10 2010 Adam Tkac <atkac redhat com> 0.4-0.4.b42
 - improve patch for multivol backup issues