[vhffs-dev] [364] that was stupid because listengine.pl is forked with the good uid/ gid by the mta, so it creates files with the good uid and gid for sure... |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
- To: vhffs-dev@xxxxxxxxx
- Subject: [vhffs-dev] [364] that was stupid because listengine.pl is forked with the good uid/ gid by the mta, so it creates files with the good uid and gid for sure...
- From: vhffs-dev@xxxxxxxxx
- Date: Sun, 03 Dec 2006 23:13:27 +0100
Revision: 364
Author: gradator
Date: 2006-12-03 22:13:27 +0000 (Sun, 03 Dec 2006)
Log Message:
-----------
that was stupid because listengine.pl is forked with the good uid/gid by the mta, so it creates files with the good uid and gid for sure...
Modified Paths:
--------------
branches/vhffs_4.1/vhffs-listengine/src/listengine.pl
trunk/vhffs-listengine/src/listengine.pl
Modified: branches/vhffs_4.1/vhffs-listengine/src/listengine.pl
===================================================================
--- branches/vhffs_4.1/vhffs-listengine/src/listengine.pl 2006-12-02 10:43:38 UTC (rev 363)
+++ branches/vhffs_4.1/vhffs-listengine/src/listengine.pl 2006-12-03 22:13:27 UTC (rev 364)
@@ -42,13 +42,6 @@
use Vhffs::Listengine::Intl;
-###########################
-# Configuration
-###########################
-my $MAIL_UID = 8;
-my $MAIL_GID = 8;
-###########################
-
#Huho, if the program stop heres, you have some problems with your MTA configuration
if( $#ARGV != 2 )
{
@@ -146,9 +139,6 @@
open( FILE , ">$file");
print FILE $mail->as_string;
close( FILE );
-
- Vhffs::Functions::change_owner_recur( $directory , $MAIL_UID , $MAIL_GID );
- chown( $MAIL_UID , $MAIL_GID , $file );
}
Modified: trunk/vhffs-listengine/src/listengine.pl
===================================================================
--- trunk/vhffs-listengine/src/listengine.pl 2006-12-02 10:43:38 UTC (rev 363)
+++ trunk/vhffs-listengine/src/listengine.pl 2006-12-03 22:13:27 UTC (rev 364)
@@ -42,13 +42,6 @@
use Vhffs::Listengine::Intl;
-###########################
-# Configuration
-###########################
-my $MAIL_UID = 8;
-my $MAIL_GID = 8;
-###########################
-
#Huho, if the program stop heres, you have some problems with your MTA configuration
if( $#ARGV != 2 )
{
@@ -146,9 +139,6 @@
open( FILE , ">$file");
print FILE $mail->as_string;
close( FILE );
-
- Vhffs::Functions::change_owner_recur( $directory , $MAIL_UID , $MAIL_GID );
- chown( $MAIL_UID , $MAIL_GID , $file );
}