Re: Perl script doen't work for a specific user

From: Scot L. Harris (webid_at_cfl.rr.com)
Date: 06/24/04

  • Next message: ne...: "Re: Windows partition"
    To: Fedora List <fedora-list@redhat.com>
    Date: Thu, 24 Jun 2004 09:46:57 -0400
    
    

    On Thu, 2004-06-24 at 04:43, Patrick Nelson wrote:
    > FC1
    >
    > I set up a script that calls sa-learn (from spamassassin) on one FC1
    > system this works just fine but on another system is errors. Here is
    > the basic call:
    >
    > su filter -c "sa-learn --spam <mailbox>"
    >
    > The systems are identical except for something that fails on the one
    > system. If I log into the system as filter like:
    >
    > su -l filter
    >
    > and then try and just run sa-learn I get a bunch of errors like:
    >
    > Can't locate Mail/SpamAssassin/CmdLearn.pm in @INC (@INC contains:
    > This seems to be so for all users but root. What would be controlling
    > this? Any ideas would help...
    >

    The first few things to verify is that the packages for spamassassin are
    installed correctly. Check versions as well.

    The message above seems to indicate a possible path or permissions
    problem.

    Since you have one system that works and one that doesn't then you can
    compare both setups to see what is different. Start by looking for the
    CmdLearn.pm file. Here it is owned by root and has 644 permissions.

    -- 
    Scot L. Harris
    webid@cfl.rr.com
    If I could drop dead right now, I'd be the happiest man alive!
    		-- Samuel Goldwyn 
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: ne...: "Re: Windows partition"

    Relevant Pages

    • Re: How to login user automatically? (for IP Filter firewall)
      ... > to hack IP Filter, some unsuspected weakness, with the result ... > being root privileges; and while I realize that's not at all likely it is ... > want to run it from a less priviledged account, can I do that without having ... > assume IP Filter file and directory permissions can address that question ...
      (comp.unix.bsd.freebsd.misc)
    • Re: [RFC] FUSE permission modell (Was: fuse review bits)
      ... >> root is denied all access. ... and the kernel checks the permission. ... The userspace can't enforce the permissions. ...
      (Linux-Kernel)
    • Re: Problem setting up NFS on Ubuntu
      ... I have installed Ubuntu ... > I used System - Administration - Synaptic Package Manager to include NFS ... Should I be using the GUI, and if so, how do I do that as root, ... and doesn't change the permissions displayed by ls -l ...
      (comp.os.linux.setup)
    • Re: MISSING PAGEFILE.SYS FILE
      ... Agree that there's a permissions problem. ... c:\ root and killed all permission groups except Everyone Group and System. ... "George Hester" wrote: ... the Everyone group includes the System account. ...
      (microsoft.public.windowsxp.general)
    • Re: MISSING PAGEFILE.SYS FILE
      ... "George Hester" wrote: ... Not a folder on C drive called root. ... There is no need to have a seperate permissions set for the System account ... Am beginning to wonder if I have a partial SP-2 installation problem. ...
      (microsoft.public.windowsxp.general)