[GH-ISSUE #240] PermissionError: [Errno 13] Permission denied: #216

Closed
opened 2026-02-26 12:20:51 +03:00 by kerem · 5 comments
Owner

Originally created by @matpsycho on GitHub (Feb 8, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/240

Hi Brent,
I have run auto-py-to-exe as admin from cmd, and in the end an error occured:
PermissionError: [Errno 13] Permission denied: 'Microsoft\Protect\Recovery\Recovery.dat'
Then "Project output will not be moved to output folder Completed"
The program has run successfully, until this error occured today.
Please help me.

Originally created by @matpsycho on GitHub (Feb 8, 2022). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/240 Hi Brent, I have run auto-py-to-exe as admin from cmd, and in the end an error occured: PermissionError: [Errno 13] Permission denied: 'Microsoft\\Protect\\Recovery\\Recovery.dat' Then "Project output will not be moved to output folder Completed" The program has run successfully, until this error occured today. Please help me.
kerem closed this issue 2026-02-26 12:20:51 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Feb 10, 2022):

Can you provide the whole traceback and exception please?

<!-- gh-comment-id:1034557372 --> @brentvollebregt commented on GitHub (Feb 10, 2022): Can you provide the whole traceback and exception please?
Author
Owner

@matpsycho commented on GitHub (Feb 10, 2022):

Can you provide the whole traceback and exception please?

Thanks for your attention. I have solved this problem by reinstall the module and I've only saved a screenshot. Hope it could help.
图片

<!-- gh-comment-id:1034570561 --> @matpsycho commented on GitHub (Feb 10, 2022): > Can you provide the whole traceback and exception please? Thanks for your attention. I have solved this problem by reinstall the module and I've only saved a screenshot. Hope it could help. ![图片](https://user-images.githubusercontent.com/20368949/153356486-8fc2afe0-8f5d-4118-b28c-0d92c3c93eeb.png)
Author
Owner

@brentvollebregt commented on GitHub (Feb 10, 2022):

That looks like a bit of an odd file to be accessed - I imagine this file has permissions on it that you cannot get around easily.

Being unable to reproduce this will probably mean that this will be closed.

<!-- gh-comment-id:1034572945 --> @brentvollebregt commented on GitHub (Feb 10, 2022): That looks like a bit of an odd file to be accessed - I imagine this file has permissions on it that you cannot get around easily. Being unable to reproduce this will probably mean that this will be closed.
Author
Owner

@matpsycho commented on GitHub (Feb 10, 2022):

Yes, this file is only assessed when run as admin from cmd, if not the file's directory is 'c:/..../AppData/Local/....'

<!-- gh-comment-id:1034656871 --> @matpsycho commented on GitHub (Feb 10, 2022): Yes, this file is only assessed when run as admin from cmd, if not the file's directory is 'c:/..../AppData/Local/....'
Author
Owner

@brentvollebregt commented on GitHub (Feb 15, 2022):

Without getting a full stack trace, there isn't much I can do sorry. If we get more info, I'm happy to re-open.

<!-- gh-comment-id:1039971213 --> @brentvollebregt commented on GitHub (Feb 15, 2022): Without getting a full stack trace, there isn't much I can do sorry. If we get more info, I'm happy to re-open.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/auto-py-to-exe#216
No description provided.