Skip to content
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

PSA Unable to delete empty folders inside OneDrive; crash when moving backups from OneDrive #300

Open
hwfanatic opened this issue Jan 23, 2025 · 0 comments

Comments

@hwfanatic
Copy link

hwfanatic commented Jan 23, 2025

If the "backup folder" is inside OneDrive folder, RSG will not be able to delete empty "save backup" folders automatically according to the set limit "backups to keep". The files are deleted, but empty folders remain.

However, right-clicking on the "save backup" and deleting it from the context menu in RSG will work as expected.
Edit: It appears that the above is not true.

If you decide to change the "backup folder" from OneDrive to another location while also letting RSG move the "save backups" automatically, it will move the latest "save backup" files but then crash when deleting the folder with the exception 0xe0434352 in KERNELBASE.dll. This leaves an empty folder behind in the original location. No data gets lost.

I can only presume the conflict arises with the inherited permissions on the OneDrive folder, but I am not knowledgeable enough to claim that.

Image

Edit: Converting inherited permission to explicit ones, and deleting this entry, then applying to all subfolders did not affect the situation.

Running RSG with elevated permissions does not affect the situation.

Note: I personally don't consider this an issue with RSG, but maybe something can be done to resolve it, nonetheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant