File ownership/permissions


Many of the files used by the newsletter system must have the proper ownership and permissions set in order to run properly. They are normally accessed by your Webserver and need to run with the same permissions as it. On most Unix-like systems, this is the nobody user.

To change the ownership and permissions, the following directories (and everything they contain) must be readable and writable by the Webserver:

INSTALLPATH/system
INSTALLPATH/advertisers
    
As well, following scripts must be set to run with the active permissions of the Webserver:
INSTALLPATH/scripts/client-bounce.pl
INSTALLPATH/scripts/user-bounce.pl
INSTALLPATH/scripts/user-delete.pl
INSTALLPATH/scripts/user-verify.pl
    
To change the ownership and permissions so that they match these, execute the following commands as root on the machine you've installed the newsletter system on (assumed you are in the installed directory):
chown -R nobody:nobody system advertisers

chown nobody:nobody scripts/client-bounce.pl
chmod a+s scripts/client-bounce.pl

chown nobody:nobody scripts/user-bounce.pl
chmod a+s scripts/user-bounce.pl

chown nobody:nobody scripts/user-delete.pl
chmod a+s scripts/user-delete.pl

chown nobody:nobody scripts/user-verify.pl
chmod a+s scripts/user-verify.pl
    
This will change the ownership of all of the files to the nobody user and set the permissions appropriately.