[GH-ISSUE #113] Permissions error with compiled python file #106

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

Originally created by @YourKalamity on GitHub (Aug 6, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/113

I have converted a python file that does work as a regular python file, it downloads a couple of things off the web and moves them around.
However after compiled with auto-py-to-exe, the file falls into a Permission Error when it tries to write to anything

Originally created by @YourKalamity on GitHub (Aug 6, 2020). Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/113 I have converted a python file that does work as a regular python file, it downloads a couple of things off the web and moves them around. However after compiled with auto-py-to-exe, the file falls into a Permission Error when it tries to write to anything
kerem closed this issue 2026-02-26 12:20:30 +03:00
Author
Owner

@brentvollebregt commented on GitHub (Aug 7, 2020):

When running your Python script, did you run it with elevated permissions? If so, you also will need to run the executable with elevated permissions.

If you're getting a permission error and don't know why I recommend double-checking what you think is happening and compare it to what is actually happening.

<!-- gh-comment-id:670347896 --> @brentvollebregt commented on GitHub (Aug 7, 2020): When running your Python script, did you run it with elevated permissions? If so, you also will need to run the executable with elevated permissions. If you're getting a permission error and don't know why I recommend double-checking what you think is happening and compare it to what is actually happening.
Author
Owner

@YourKalamity commented on GitHub (Aug 8, 2020):

I'm not sure why but rerunning auto-py-to-exe fixed it

<!-- gh-comment-id:670939493 --> @YourKalamity commented on GitHub (Aug 8, 2020): I'm not sure why but rerunning auto-py-to-exe fixed it
Author
Owner

@ghost commented on GitHub (May 2, 2022):

I had this same issue and elevating permissions didn't work for me...

<!-- gh-comment-id:1114788561 --> @ghost commented on GitHub (May 2, 2022): I had this same issue and elevating permissions didn't work for me...
Author
Owner

@brentvollebregt commented on GitHub (May 3, 2022):

@DINOTICK-Dev what is the exception and traceback?

<!-- gh-comment-id:1115855779 --> @brentvollebregt commented on GitHub (May 3, 2022): @DINOTICK-Dev what is the exception and traceback?
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#106
No description provided.