]> git.sur5r.net Git - bacula/bacula/commitdiff
Added fix for bug #1275 where acl or xattr data is saved for virtual filenames genera...
authorMarco van Wieringen <mvw@planets.elm.net>
Mon, 27 Apr 2009 15:10:59 +0000 (15:10 +0000)
committerMarco van Wieringen <mvw@planets.elm.net>
Mon, 27 Apr 2009 15:10:59 +0000 (15:10 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8753 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/backup.c
bacula/technotes

index e0c9ba9f46a37d3e9bf894487514b201ae07f6d5..f098c96ee51a7265debb06267ef9c01b95dd7ee4 100644 (file)
@@ -580,19 +580,23 @@ int save_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level)
 #endif
 
    /*
 #endif
 
    /*
-    * Save ACLs for anything not being a symlink.
+    * Save ACLs for anything not being a symlink and not being a plugin.
     */
     */
-   if (ff_pkt->flags & FO_ACL && ff_pkt->type != FT_LNK) {
-      if (!build_acl_streams(jcr, ff_pkt))
-         goto bail_out;
+   if (!ff_pkt->cmd_plugin) {
+      if (ff_pkt->flags & FO_ACL && ff_pkt->type != FT_LNK) {
+         if (!build_acl_streams(jcr, ff_pkt))
+            goto bail_out;
+      }
    }
 
    /*
    }
 
    /*
-    * Save Extended Attributes for all files.
+    * Save Extended Attributes for all files not being a plugin.
     */
     */
-   if (ff_pkt->flags & FO_XATTR) {
-      if (!build_xattr_streams(jcr, ff_pkt))
-         goto bail_out;
+   if (!ff_pkt->cmd_plugin) {
+      if (ff_pkt->flags & FO_XATTR) {
+         if (!build_xattr_streams(jcr, ff_pkt))
+            goto bail_out;
+      }
    }
 
    /* Terminate the signing digest and send it to the Storage daemon */
    }
 
    /* Terminate the signing digest and send it to the Storage daemon */
index f0a697515fa65cfd063f6afd254788e816ba653d..2689c92747b438be31ce0cdee609723533f8f7ea 100644 (file)
@@ -2,6 +2,9 @@
           
 General:
 
           
 General:
 
+27Apr09
+mvw  Added fix for bug #1275 where acl or xattr data is saved for
+     virtual filenames generated by filed plugins.
 26Apr09
 ebl  Remove "Reposition" message when restoring
 kes  Fix platform scripts not to clean configured files during
 26Apr09
 ebl  Remove "Reposition" message when restoring
 kes  Fix platform scripts not to clean configured files during