-
Notifications
You must be signed in to change notification settings - Fork 0
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
Separate option for file ownership preservation #111
base: nodyhub/invent-option-preserver-attributes
Are you sure you want to change the base?
Separate option for file ownership preservation #111
Conversation
- Not just when targetting main.
The test for preserving UID/GID for I will pause on this for now @NodyHub as I think I'll need your help with setting up the |
As mentioned in #106 (comment) the |
I upstreamed your idea of splitting the option in 00f38eb |
This separates out the configuration for preserving file ownership vs other attributes. Preserving ownership requires root permissions, and attempting to do that without root permissions now fails instead of just warning. The rationale for separating the options rather than just requiring root to preserve any of the attributes is that there are many use cases where the file mode and modification times are important, but where file ownership is not. This way users can benefit from these attributes without needing root privileges.