[rt-users] Stripmime permissions

Frances Russell frussell at tpg.com.au
Tue Jun 19 07:15:15 EDT 2001

Hi all,

I have a problem with stripmime. I know this isn't strictly RT but 
lots of rt people use it so maybe someone knows how to fix this:

I run RT1.0.7 on RH 6.2 with Postfix for mail and Apache1.3.2.

RT works fine and so does stripmime except for 1 small glitch:

The mail attachments are correctly placed in /var/www/stripmime 
but permissions on the files are changed to 700 with owner 
"nobody" (the postfix user).

The stripmime script seems to set permissions to 755 (as shown 
below) - but this doesn't happen.

Can anyone help?


 sub main {

   # Create a new MIME parser:
   my $parser = new MIME::Parser;

     # Set the output directory:
     (-d "$basefilepath") or mkdir "$basefilepath",0755 or die "mkdir:
    (-w "$basefilepath") or die "can't write to directory";
    open (OUT, "|$outputprog"); 



More information about the rt-users mailing list