Skip to content
Commit e2d044fe authored by Alex Lyakas's avatar Alex Lyakas Committed by Chris Mason
Browse files

Btrfs: Send: preserve ownership (uid and gid) also for symlinks.



This patch also requires a change in the user-space part of "receive".
We need to use "lchown" instead of "chown". We will do this in the
following patch.

Signed-off-by: default avatarAlex Lyakas <alex.btrfs@zadarastorage.com>

 	if (S_ISREG(sctx->cur_inode_mode)) {
parent 671415b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment