TIP: Permissions, permissions, permissions! [0.7.x]
Posted: April 21st, 2012, 10:44 am
The following is for Mac OS X and Linux/Unix users of the current version [0.7.0Beta3]
Tested on Mac OS X with SABnzbd version [0.7.0Beta3], with logging on 'Debug'
The system's chmod command has various options and return values that can be used easily within shell scripting. When using other programs to change file permissions, the program itself may have to be run as superuser, or it may need such permissions during some file handling processes, especially when dealing with volumes, or directories with special (mounting) options. This can be ignored when permissions are only inherited.
So to prevent permission errors the best option to use is to give the DOWNLOAD directory permissions 0777 (all access to all) and to give the destination (movie, etc.) directory 0775 (only rx for others) permissions. To make sure that SABnzbd does not change these permissions, you'll have to manually edit the sabnzbd.ini file and look for the line (the value may differ)
and change the value to ""
then just restart SABnzbd and no more permission errors should happen.
Tested on Mac OS X with SABnzbd version [0.7.0Beta3], with logging on 'Debug'
The system's chmod command has various options and return values that can be used easily within shell scripting. When using other programs to change file permissions, the program itself may have to be run as superuser, or it may need such permissions during some file handling processes, especially when dealing with volumes, or directories with special (mounting) options. This can be ignored when permissions are only inherited.
So to prevent permission errors the best option to use is to give the DOWNLOAD directory permissions 0777 (all access to all) and to give the destination (movie, etc.) directory 0775 (only rx for others) permissions. To make sure that SABnzbd does not change these permissions, you'll have to manually edit the sabnzbd.ini file and look for the line
Code: Select all
permissions = 0775
and change the value to ""
Code: Select all
permissions = ""