diff --git a/src/client/pxar_backup_stream.rs b/src/client/pxar_backup_stream.rs index 8258229f..c0cd193f 100644 --- a/src/client/pxar_backup_stream.rs +++ b/src/client/pxar_backup_stream.rs @@ -43,7 +43,9 @@ impl PxarBackupStream { let child = thread::spawn(move|| { let mut writer = unsafe { std::fs::File::from_raw_fd(tx) }; - if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, all_file_systems, verbose) { + let no_xattrs = false; + let no_fcaps = false; + if let Err(err) = pxar::Encoder::encode(path, &mut dir, &mut writer, all_file_systems, verbose, no_xattrs, no_fcaps) { eprintln!("pxar encode failed - {}", err); } }); diff --git a/src/client/pxar_decode_writer.rs b/src/client/pxar_decode_writer.rs index 4c3a6f60..32fb1dd8 100644 --- a/src/client/pxar_decode_writer.rs +++ b/src/client/pxar_decode_writer.rs @@ -31,7 +31,9 @@ impl PxarDecodeWriter { let child = thread::spawn(move|| { let mut reader = unsafe { std::fs::File::from_raw_fd(rx) }; - let mut decoder = pxar::SequentialDecoder::new(&mut reader); + let no_xattrs = false; + let no_fcaps = false; + let mut decoder = pxar::SequentialDecoder::new(&mut reader, no_xattrs, no_fcaps); if let Err(err) = decoder.restore(&base, & |path| { if verbose {