Boris Kolpackov <bo...@codesynthesis.com> writes:

> Thanks for the clarification. Interestingly, in my use case I do
> want to be able to do incremental send/receive and the only reason
> I am temporarily clearing the read-only property is to change the
> subvolume's owner:

Why don't you create of a normal rw snapshot of the received subvol, use
it for whatever purposes you need to write to it for, and then delete
the temporary rw snapshot subvol?  This approach doesn't compromise the
integrity of your replica.

> sudo btrfs property set -f -ts ./subvol ro false
> sudo chown user:user ./subvol
> sudo chown user:user ./subvol/*
> btrfs property set -ts ./subvol ro true
>
> I wonder if there is now a way to achieve this without clearing
> received_uuid?

What problem are you attempting to solve?

Regards,
Nicholas

Attachment: signature.asc
Description: PGP signature

Reply via email to