---- orig/rsync.c 2004-07-03 20:11:58
-+++ rsync.c 2005-03-03 01:31:22
-@@ -146,6 +146,14 @@ int set_perms(char *fname,struct file_st
+--- orig/rsync.c 2006-01-31 02:33:51
++++ rsync.c 2005-10-16 23:19:27
+@@ -163,12 +163,15 @@ int set_file_attrs(char *fname, struct f
+ }
+ #endif
+
+- /* If this is a directory, SET_ACL() will be called on the cleanup
+- * receive_generator() pass (if we called it here, we might clobber
+- * writability on the directory). Everything else is OK to do now. */
++ /* If this is a directory, SET_ACL() and/or SET_XATTR() will be called
++ * on the cleanup receive_generator() pass -- if we called it here, we
++ * might clobber writability on the dir (SELinux security contexts are
++ * stored in xattrs). Everything else is OK to do now. */
+ if (!S_ISDIR(st->st_mode)) {