Question about an error message

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
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Question about an error message

Post by dcuritois »

I'm getting an error like:
ERROR: Cannot change permissions of /volume1/Dir1/Dir2/File
But thing is sabnzbd shouldn't be messing with that file in the first place, so why does it need access?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Question about an error message

Post by shypike »

Because you set "permissions" in Config->Folders?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Question about an error message

Post by dcuritois »

shypike wrote:Because you set "permissions" in Config->Folders?
I'm afraid I don't understand your comment.

My question is why does it need permissions for files it shouldn't be touching?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Question about an error message

Post by shypike »

If you tell SABnzbd to adjust permissions on the end result of a download,
you do so in Config->Folders.
SABnzbd will start setting permissions starting at the "Completed Download Folder".
What are your settings for permissions and folder paths?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Question about an error message

Post by dcuritois »

shypike wrote:If you tell SABnzbd to adjust permissions on the end result of a download,
you do so in Config->Folders.
SABnzbd will start setting permissions starting at the "Completed Download Folder".
What are your settings for permissions and folder paths?
I don't think I've set anything about that, wasn't the default 777?

That's what "Permissions for completed downloads" and I think thats the way it was as default?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Question about an error message

Post by shypike »

What is the value of the Permissions field?
A value means that SABnzbd will try to apply those and complain when it fails.
Empty means that SABnzbd will silently try to set permissions conform
your user account's default permissions. It should not complain when that fails.
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Question about an error message

Post by dcuritois »

shypike wrote:What is the value of the Permissions field?
There is only a field called "Permissions for completed downloads" which is 777
shypike wrote: A value means that SABnzbd will try to apply those and complain when it fails.
Empty means that SABnzbd will silently try to set permissions conform
your user account's default permissions. It should not complain when that fails.

Ok, but why you want it to set permissions on old folders?
dcuritois
Jr. Member
Jr. Member
Posts: 58
Joined: February 15th, 2012, 4:54 pm

Re: Question about an error message

Post by dcuritois »

Oh well.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Question about an error message

Post by shypike »

dcuritois wrote: Ok, but why you want it to set permissions on old folders?
It tries to set permissions right for the full path leading to the folder.
So assuming you already have /volume1/Complete/job1
and now it's time for /volume1/Complete/job2 it will try to set permissions for:
/volume1/Complete
/volume1/Complete/job2
/volume1/Complete/job2/file
but not for
/volume1/Complete/job1
Post Reply