Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Report & discuss bugs found in 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
SABfaninAus
Newbie
Newbie
Posts: 11
Joined: October 23rd, 2017, 9:08 am

Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Post by SABfaninAus »

Hi there,

I had permissions issues with the update to SABnzbd 3.7.0 running on my Synology NAS. I'm running DSM 6.2.4 Update 6.

After updating to SABnzbd 3.7.0 (from 3.6.1), my complete folder was not writeable by SABnzbd.

More than this, another folder which is used by Deluge (and not by SABnzbd) was not writeable either. Hence, this update stopped my torrent client working until I manually fixed the permissions.

I've not had this problem with previous updates to SABnzbd and I always update to the latest version.

Can you please investigate and fix if necessary?

Folder structure and permissions after update:

For SABnzbd:

/Downloads/Usenet/complete <-- read only
/Downloads/Usenet/incomplete <-- read/write

For Deluge (v2.0.3)

/Downloads/Torrents/Complete <-- read only

Why did the SABnzbd installer change the permissions for /Downloads/Usenet/complete to read only when it was previously read/write?

Why did the SABnzbd installer change the permissions for the /Downloads/Torrents/Complete directory, which is nothing to do with SABnzbd?

Notes: Yes I know I'm running an older version of Deluge. I will update to Deluge 2.1.1 when I make the jump to DSM7, which is a project for the holidays. For the moment, this set-up is working nicely for me, so I'd like to keep running it for a few more months.

Thanks,
SABfaninAus

User avatar
sander
Release Testers
Release Testers
Posts: 8140
Joined: January 22nd, 2008, 2:22 pm

Re: Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Post by sander »

If you think it is caused by SABnzbd, can you do this:

downgrade to SAB 3.6.x, and verify that everything is working
then upgrade to SAB 3.7.0, and check if that reproduces the rights problems you describe.

SABfaninAus
Newbie
Newbie
Posts: 11
Joined: October 23rd, 2017, 9:08 am

Re: Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Post by SABfaninAus »

Thanks for the quick reply. I'm reasonably confident the issue was caused by the install of SABnzbd 3.7.0. As soon as SABnzbd started up after the update, SABnzbd immediately started giving me errors in the web interface that the /complete folder was not writeable.

I would be happy to test but downgrading to 3.6.1 is not so simple. Package Centre will only offer the latest version and manually installing a package is beyond my meagre skills.

I have fixed the issue by manually giving sc-download read/write permissions to the necessary folders.

I posted here in case others had the same problem and/or the issue warranted investigation.

Thanks,
SABfaninAus

User avatar
sander
Release Testers
Release Testers
Posts: 8140
Joined: January 22nd, 2008, 2:22 pm

Re: Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Post by sander »

SABfaninAus wrote: November 19th, 2022, 11:51 am I posted here in case others had the same problem and/or the issue warranted investigation.
Yes, thanks. Let's see if other (synology) users experience it too.

User avatar
safihre
Administrator
Administrator
Posts: 4866
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Permissions Issue with SABnzbd 3.7.0 update - Synology DSM6

Post by safihre »

This is how the SynoCommunity package works on DSM 6.
Synology made permission a huge pain in DSM 6, so on each install we set a base permission on the folders. This is the SynoCommunity package, not SABnzbd and it has done this for almost 2 years already, so nothing new. Deluge SynoCommunity package will do the same on update..
Just update to DSM 7 and things will be better.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

Post Reply