]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/backup.c
Create archivedir
[bacula/bacula] / bacula / src / filed / backup.c
index e0c9ba9f46a37d3e9bf894487514b201ae07f6d5..f098c96ee51a7265debb06267ef9c01b95dd7ee4 100644 (file)
@@ -580,19 +580,23 @@ int save_file(JCR *jcr, FF_PKT *ff_pkt, bool top_level)
 #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 */