-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CP-50298: Support restoring dir to specified mode and user/group #187
base: release/xs8
Are you sure you want to change the base?
Conversation
attributes Signed-off-by: Deli Zhang <[email protected]> (cherry picked from commit 0ccfe46)
Will merge in PI26 |
def copy_ownership(src_root, src_path, dst_root, dst_path): | ||
# Copy attributes from a path in a source root to another path in a | ||
# destination root. | ||
# - The ownership is copied such that it is notaffected by changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: notaffected
-> not affected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix.
# destination root. | ||
# - The ownership is copied such that it is notaffected by changes | ||
# in the underlying uid/gid. Or it's set to the specified. | ||
# - The mode is set to the specified. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an English native speaker but I think specified
needs something after like specified one
. I would change to The mode is set to the specified one if present
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix.
I cannot push fix code. Can admin give me |
You should not use |
This change was already reviewed before #170 (#168) from private to feature. Now to merge to target release/xs8 from feature. |
You'll need to open a PR to the feature branch, once merged that will update this PR |
Fixed in PR #191 |
attributes
Signed-off-by: Deli Zhang [email protected]
(cherry picked from commit 0ccfe46)