[prev in list] [next in list] [prev in thread] [next in thread] 

List:       razor-users
Subject:    Re: [Razor-users] e-mailing an e-mail to report.
From:       Matt Kettler <mkettler () evi-inc ! com>
Date:       2004-09-10 15:55:59
Message-ID: 6.0.0.22.0.20040910114604.02bd4828 () 192 ! 168 ! 50 ! 2
[Download RAW message or body]

At 11:32 AM 9/10/2004, Jeffrey Kern wrote:
>I did not know that, or I would not have asked. I assumed it did some
>extrapolation from the headers.

No, it doesn't.. Now you know :)
>What is the common method of handling identity for such a circumstance?
>In the pipe, in the aliases file I tried to give razor-report a
>-home=/etc/razor and -ident=/etc/razor/identity-public etc, etc, but I
>always get a bounce that reports:
>"more: Cannot read the identity file: /etc/razor/identity-public"
>
>But /etc/razor/identity-public is chmod 666 and the directory is
>readable aswell.

Razor doesn't appear to like world-readable identity files and will 
complain about it in the logs, but should run anyway.

Theoretically that message should only trigger if the file specified isn't 
readable (ie: a perl -r test on it fails).

Have you checked with something like more or cat to be sure the user really 
can read the file, and to make sure you didn't typo the name?

-------------
     my $idfn = $self->{identity};
     return $self->error("Cannot read the identity file: $idfn") unless -r 
$idfn;

     $idfn = $self->my_readlink($idfn);

     my $mode = ((stat($idfn))[2]) & 07777; # mask off file type
     if ($mode & 0007) {
         $self->log(2,"Please chmod $idfn so it is not world readable.");
     }
     return $self->read_file( $idfn );
-------------





-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Razor-users mailing list
Razor-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/razor-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic