File star-1.5.3-xattr_security-capability.patch of Package star

Index: star-1.5.3/star/star_unix.c
===================================================================
--- star-1.5.3.orig/star/star_unix.c
+++ star-1.5.3/star/star_unix.c
@@ -649,10 +649,6 @@ setmodes(info)
 			set_acls(info);
 #endif
 	}
-#ifdef	USE_XATTR
-	if (doxattr)
-		set_xattr(info);
-#endif
 #ifdef	USE_FFLAGS
 	if (dofflags && !asymlink)
 		set_fflags(info);
@@ -688,6 +684,12 @@ setmodes(info)
 			}
 		}
 	}
+
+#ifdef  USE_XATTR
+	if (doxattr)
+		set_xattr(info);
+#endif
+
 #ifdef	HAVE_UTIMENSAT
 	/*
 	 * utimensat() is able to set the time stamps on symlinks, if called
openSUSE Build Service is sponsored by