Help! Config.ini file in Synology showing "...reading: Permission denied"
Posted: June 23rd, 2024, 9:48 pm
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.
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.