[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fw: problem with permissions



Hello,
 
I call mhonarc from simple shell script
 
#!/usr/bin/perl
# Edit above path to point to where perl is on your system.
 
##      Specify a package to protect names from MHonArc.
 
package WebNewMail;
 
##      Edit to point to installed mhonarc.
 
$MHonArc = "/usr/bin/mhonarc";
 
##      Define ARGV (ARGV is same across all packages).
##      Edit options as required/desired.
 
@ARGV = ("-add",
         "-quiet",
          "-umask 022",
         "-outdir", "/www/KGB/internal/lists/KGB-list");
 
##      Just require mhonarc, this prevents the overhead of a
##      fork/exec.
 
require $MHonArc;
 
But when posting on list, I recive this error:
 
<ultra@kgb.ijs.si>: Command died with status 255:
"/home/ultra/bin/webnewmail
    #ultra". Command output: Unknown option: umask 022  Try "webnewmail
-help"
    for usage
 
What is wrong?
 
Regards,
 
Janez
 

[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]