Help! Config.ini file in Synology showing "...reading: Permission 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
itabor
Newbie
Newbie
Posts: 4
Joined: June 23rd, 2024, 9:45 pm

Help! Config.ini file in Synology showing "...reading: Permission denied"

Post by itabor »

Apologies, complete newbie. Im running DSM 7 on a DS220+.

Trying to whitelist my server so SABnzbd will open (currently getting "Access denied - Hostname verification failed: ...hostname-check" message).

I managed to get into /var/packages/sabnzbd through SSH on Terminal on my Mac. Im accessing through the default admin account through the initial command "ssh account name@IP Address -p port number.

I can see the config.ini file to edit but it won't allow me to edit or copy the config.ini file in Terminal. I get this message: "cannot open 'config.ini' for reading: Permission denied".

A permissions command brings up the following for the folder files:
/var/packages/sabnzbd/var$ ls -l
total 24
drwxr-xr-x 1 sc-sabnzbd synocommunity   22 Jun 23 08:37 admin
-rw------- 1 sc-sabnzbd synocommunity 7700 Jun 23 08:37 config.ini
-rw------- 1 sc-sabnzbd synocommunity 7215 Jun 23 08:37 config.ini.bak
drwxr-xr-x 1 sc-sabnzbd synocommunity   56 Jun 23 08:37 logs
drwxr-xr-x 1 sc-sabnzbd synocommunity   20 Jun 23 08:36 pip-cache
-rw-r--r-- 1 sc-sabnzbd synocommunity  265 Jun 23 08:37 sabnzbd.log
-rw------- 1 sc-sabnzbd synocommunity    6 Jun 23 08:37 sabnzbd.pid
drwxr-xr-x 1 sc-sabnzbd synocommunity   24 Jun 23 08:36 scripts

A chmod 755 command for the config.ini file gives the following message: "chmod: changing permissions of 'config.ini': Operation not permitted"
Ive checked all user permissions (including for applications) in the GUI and can't see anything blocking permissions there. The ls -l command also shows rw permissions for config.ini file.

What am I missing? How can I edit the config.ini file to add the whitelist= line?

Note: DS220+ doesn't support Docket so I can't install SABnzbd through Docker.
User avatar
sander
Release Testers
Release Testers
Posts: 9074
Joined: January 22nd, 2008, 2:22 pm

Re: Help! Config.ini file in Synology showing "...reading: Permission denied"

Post by sander »

itabor
Newbie
Newbie
Posts: 4
Joined: June 23rd, 2024, 9:45 pm

Re: Help! Config.ini file in Synology showing "...reading: Permission denied"

Post by itabor »

Update: I was able to read and copy the config.ini file with root access. 

In the config.ini file, my server name was already there but Ive added my QuickConnect IP as FQDN as well. Still no luck. Any ideas? 
itabor
Newbie
Newbie
Posts: 4
Joined: June 23rd, 2024, 9:45 pm

Re: Help! Config.ini file in Synology showing "...reading: Permission denied"

Post by itabor »

Solved! Just needed a full restart. Am in now :)
itabor
Newbie
Newbie
Posts: 4
Joined: June 23rd, 2024, 9:45 pm

Re: Help! Config.ini file in Synology showing "...reading: Permission denied"

Post by itabor »

sander wrote: June 23rd, 2024, 11:01 pm Did you read & try https://sabnzbd.org/wiki/extra/hostname ... address%2C
Hi Sander, I did and it was bringing up the same error message. Now that ive added the IP address to the whitelist, I can access it.
Post Reply