-
Notifications
You must be signed in to change notification settings - Fork 711
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
Inherit ACLs from parent after rename #289
base: master
Are you sure you want to change the base?
Conversation
Is this what Explorer does? |
Yes-ish...do you disagree with my assertion that this is what Explorer does? For Explorer, see
My 2c would be:
|
Thanks @malxau. I have no reason to contradict your comments and findings. I do think we should work more to match Explorer if we are going to change anything. |
In concrete terms then, what change are you requesting? As I see it, there's two alternatives: an approach that provides progress means this PR gets abandoned and a new approach is needed; changing how to handle the immediate object by querying its current state can be done incrementally here. Progress is obviously a bigger thing that needs to tie into the message pump, possibly by using a different thread for the ACL change and |
My primary concern is that the PR as proposed changes the behavior of Winfile in a significant way, resets ACL on simple rename, and is not the same as Explorer. I am not suggesting a larger investment in progressive display of any changes, just to clearly understand the result created by Explorer and target that. So I think the next step, if we proceed here, is to finish the analysis of what Explorer does. |
NTFS stores ACLs per file. When a file is moved across directories, ACLs are not changed by the file system. Providing inherited ACL semantics works in explorer by enabling inheritance on the target after the move, causing its ACL to be updated as a second step. This change implements that logic.
This is to fix #276 .