PermissionError: [WinError 5] Access is denied

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

I'm getting this error after download

"PermissionError: [WinError 5] Access is denied: '\\\\?\\C:\\Incomplete'"

I don't have my download folders set to C: at all, so I'm not sure why it's trying to write there or how to fix. Any advice is appreciated. Thank you
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: PermissionError: [WinError 5] Access is denied

Post by sander »

Can you give the surrounding info, for example from sabnzbd.log?
User avatar
safihre
Administrator
Administrator
Posts: 5365
Joined: April 30th, 2015, 7:35 am
Contact:

Re: PermissionError: [WinError 5] Access is denied

Post by safihre »

Somewhere it is set to that directory, it could be in Config Folders or in Config Categories.
But indeed, if you could share some logging it would help.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

Re: PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

I'm trying to include logging info. I can't seem to get it into this form. I keep getting a message saying "New users are not allowed to post links"

I get this message even when I just copy/paste the text from the log file to this reply and try to Submit. Hey I can include emojis though ;D
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: PermissionError: [WinError 5] Access is denied

Post by sander »

Can you express in emoji's then?

;-)

You can put the logging on pastebin, then put the URL with space in it here on the forum.

(It's all an anti-spam measure for new users)
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

Re: PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

Thanks @safihre, I did find in the Config Categories where the path is set to C:// Not sure if it's always been that way and it just stopped working or if the latest update possibly changed this folder. It looks like I'll need to either change this path or figure out how to allow SABnzbd to access this path.

EDIT: I was wrong about this ^^ I was looking at the default folder. I do not have folders set to the default path.
Last edited by kbn0512 on August 22nd, 2020, 8:20 am, edited 1 time in total.
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

Re: PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

Thanks for the pastebin suggestion. It looks like that works

https://pastebin.com/TAQiCbLG
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: PermissionError: [WinError 5] Access is denied

Post by sander »

I don't have my download folders set to C: at all,
Well, I really think you have set SABnzbd "Incomplete" to C:\Incomplete\ or C:\Incomplete\sonarr (or maybe-maybe sonarr is doing that ... I don't know Sonarr):

Code: Select all

2020-08-21 07:40:40,847::INFO::[filesystem:558] Creating directories: \\?\C:\Incomplete\sonarr\Big.Brother.US.S22E07.720p.HDTV.x264-aAF
2020-08-21 07:40:40,847::ERROR::[filesystem:585] Failed making (C:\Incomplete\sonarr\Big.Brother.US.S22E07.720p.HDTV.x264-aAF)
Traceback (most recent call last):
  File "sabnzbd\filesystem.py", line 560, in create_all_dirs
  File "os.py", line 213, in makedirs
  File "os.py", line 213, in makedirs
  File "os.py", line 223, in makedirs
PermissionError: [WinError 5] Access is denied: '\\\\?\\C:\\Incomplete'
So check your Folder settings on http://127.0.0.1:8080/sabnzbd/config/folders/
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

Re: PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

In the System Folders section, I do see that that the Admin folder and Log folder are set to C:, but the Download folders are not.
kbn0512
Newbie
Newbie
Posts: 7
Joined: August 21st, 2020, 10:53 am

Re: PermissionError: [WinError 5] Access is denied

Post by kbn0512 »

On this page - http://127.0.0.1:38080/sabnzbd/config/, I see the 'Config' file and 'Parameters' file are both set to C:. I guess I'm confused because I haven't made any changes to any folders. I can't figure out why this would have just started happening.
Post Reply