0.5.4 sabnzbd.ini permissions: only for newly created sabnzbd.ini (Linux, Mac)

Feel free to talk about anything and everything in this board.
Post Reply
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

0.5.4 sabnzbd.ini permissions: only for newly created sabnzbd.ini (Linux, Mac)

Post by sander »

Hi, a FYI / heads up:

0.5.4 has a bug fix "Make sure access to sabnzbd.ini is blocked for group and world (Unix, OSX)."

Reading http://bazaar.launchpad.net/~sabnzbd/sa ... /config.py (and running SAB), it looks like only *newly created* sabnzbd.ini files get the new safe permissions. Already existing sabnzbd.ini stay world-readable, which can be a risk.

So, existing / upgrading users should do chmod 600 theirselves, like below ...


sander@quirinius:~$ ls -al .sabnzbd/sabnzbd.ini
-rw-r--r-- 1 sander sander 4118 2010-08-25 07:52 .sabnzbd/sabnzbd.ini
       
sander@quirinius:~$ chmod 600 .sabnzbd/sabnzbd.ini

sander@quirinius:~$ ls -al .sabnzbd/sabnzbd.ini
-rw------- 1 sander sander 4118 2010-08-25 07:52 .sabnzbd/sabnzbd.ini
sander@quirinius:~$
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Post Reply