#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 */
 
           
 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