Bug 189671 - btrfs send/receive does not retain file attributes
Summary: btrfs send/receive does not retain file attributes
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: Josef Bacik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-04 17:02 UTC by ataraxia937
Modified: 2016-12-05 14:49 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.8.10-300.fc25.x86_64
Tree: Fedora
Regression: No


Attachments

Description ataraxia937 2016-12-04 17:02:50 UTC
When using btrfs send and receive to transfer a subvolume, file attributes (set with chattr) are not copied. I tested this with the 'C' attribute on a directory, which was present in the original subvol, and in the RO snapshot created for use with send, but not in the snapshot created by receive.
Comment 1 David Sterba 2016-12-05 14:49:51 UTC
This is a known problem and will be addressed in v2 of the send/receive protocol update.

https://btrfs.wiki.kernel.org/index.php/Design_notes_on_Send/Receive#Send_stream_v2_draft

Note You need to log in before you can comment on or make changes to this bug.