-
Notifications
You must be signed in to change notification settings - Fork 273
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
[ FEATURE ] Windows uses icacls for permisions on files after move #3325
Comments
That PR looks more like a hack than anything that should really be done - it just resets the Series folder every time. What is the actual issue you are having? What's your situation? Any errors? |
Let me give some more background.
That means that when Medusa moves (which is much faster) an episode instead of copying, that the file permissions from the source are retained instead of inheriting from the destination location. The addition in SickRage just does a reset of the permission inheritance of the episode root folder (most cases the season folder) to make sure all file only have the inherited permissions. Does it make sense what I'm trying to explain. |
Okay, but why not just give the moved files the permissions of the parent folder after moving? Doesn't that have the correct permissions? |
Proper way would be to use the pywin32 api |
@Rouzax it's not exactly a weird quirk. Linux behaves similarly as the permissions are retained during a move vs a copy, but I get your point :). |
@labrys I did not know that Linux had the same issue/behaviour. |
We will not use |
Closing this as it has been added to the #282 Master Feature List to track all feature requests. Discussion specific to this feature can continue in this thread. |
@labrys Although I know I'm probably one of the few that is waiting on this feature I was wondering if it will make it into Medusa? |
I quit the medusa team quite a while ago. I doubt any of the other developers have chosen to look at this. |
Here's some reading as a starting point if someone is interested. |
Sorry, I didn't know. |
I've created a really simple Extra Script to solve this for me, I know it is far from perfect but it seems to work okay.
|
I'm migrating from SickRage and one thing I miss that has been implemented in SickRage a while back is Setting the file permissions after a move in Windows.
See SiCKRAGE/SiCKRAGE@67e1ebe for the implementation in SickRage.
I know this is a Windows only things but unfortunately Microsoft has not yet fixed the horrible way their permissions work.
The text was updated successfully, but these errors were encountered: