Yes, that's what I thought too.

I re-started the install again, this time using ASSP rather than assp, and am 
getting the same results:

sudo aptitude install libcompress-zlib-perl libemail-valid-perl 
libfile-readbackwards-perl libmail-spf-query-perl libemail-mime-perl \
libemail-mime-modifier-perl libmail-srs-perl libnet-dns-perl libsys-syslog-perl 
libnet-ldap-perl unzip clamav \
clamav-daemon libemail-send-perl
sudo wget 
http://superb-east.dl.sourceforge.net/sourceforge/assp/ASSP_1.5.1.2-Install.zip
sudo mkdir -p /usr/share/ASSP/spam
sudo mkdir /usr/share/ASSP/notspam
sudo mkdir /usr/share/ASSP/errors
sudo mkdir /usr/share/ASSP/errors/spam
sudo mkdir /usr/share/ASSP/errors/notspam
sudo unzip ASSP_1.5.1.2-Install.zip
sudo mv -f ASSP_1.5.1.2-Install/ASSP/* /usr/share/ASSP
sudo rm -rf ASSP_1.5.1.2-Install
sudo rm ASSP_1.5.1.2-Install.zip
sudo chown -R nobody:nogroup /usr/share/ASSP
sudo chmod -R 777 /usr/share/ASSP

The funny thing is, the first run-through worked and ASSP started running, then 
I hit CTRL-C and ran perl assp.pl again and it gave me the 'Modification of a 
read-only value attempted at assp.pl line 23552, <DATA> line 253' error.

I looked in the ASSP directory and assp.cfg had changed, the owner was now set 
as root:root, and persmissions as -rw-r--r-- instead of the 777 (-rwxrwxrwx) I 
had set previously.
I tried re-running CHMOD and CHOWN again but at this point it seems like the 
damage had already been done.

________________________________________
From: Scott Haneda [talkli...@newgeo.com]
Sent: Wednesday, May 06, 2009 8:08 PM
To: For Users of ASSP
Subject: Re: [Assp-user] Error in assp.pl at line 23574

That line to me looks like the part of assp that reads the cfg file,
either assp.cfg.defaults or assp.cfg.

Previous suggestions had you changing permissions to *.pl, thereby
missing the .cfg files entirely. It looks like ASSP will eventually
set the permissions correct, which is the chmod 0644 you see in the
code, but it is going to need to be able to read it first.

I would again suggest starting clean, and do not change the case of
the assp directory, leave it as is from the download.

I would then issue 777 permissions on all files.  If that works,
download again, and use more restrictive permissions as per the docs.

sudo chmod -R 777 path_to/assp/

On May 6, 2009, at 6:34 AM, Alex Davidson wrote:

> I just tried 'sudo chown -R nobody:nogroup /usr/share/assp' again
> but it didn't help
>
> Line 23574 consists of the following line of code:
> foreach my $c (@ConfigArray) {
>
> in the following area of code:
> open( F, ">$base/assp.cfg.defaults" );
>    foreach my $c (@ConfigArray) {
>        next if $c->[0] eq "0";
>        print F "$c->[0]:=$c->[4]\n";
>    }
>    close F;
>    chmod 0644, "$base/assp.cfg.defaults";
>
> I tried to extract as much as I thought I would need to reproduce
> the error:
> use vars qw($base);
> push @EXPORT, qw($base);
> push @EXPORT, qw($base $wikiinfo);
>
>    # load from command line if specified
>    if ( $ARGV[0] && $ARGV[0] !~ "-" ) {
>        $base = $ARGV[0];
>    } else {
>        # the last one is the one used if all else fails
>        foreach (
>            '.',         '/usr/local/assp', '/home/assp',
>            '/etc/assp', '/usr/assp',       '/applications/assp',
>            '/assp',     '.'
>          )
>        {
>            $base = $_;
>            last if -e "$base/assp.cfg";
>        }
>    }
>
> open( F, ">$base/assp.cfg.defaults" );
>    foreach my $c (@ConfigArray) {
>        next if $c->[0] eq "0";
>        print F "$c->[0]:=$c->[4]\n";
>    }
>    close F;
>    chmod 0644, "$base/assp.cfg.defaults";
>
> but running it produces no output or error
>
> Has anyone else installed recently that can confirm success or
> failure to compare?

--
Scott * If you contact me off list replace talklists@ with scott@ *


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Assp-user mailing list
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to