1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-proftpd-1.12.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot mezzanine_patched_e-smith-proftpd-1.12.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot |
2 |
--- e-smith-proftpd-1.12.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot 2007-01-10 07:46:16.000000000 -0700 |
3 |
+++ mezzanine_patched_e-smith-proftpd-1.12.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot 2007-01-10 07:45:32.000000000 -0700 |
4 |
@@ -7,7 +7,7 @@ |
5 |
|
6 |
foreach my $user (@users) |
7 |
{ |
8 |
- my $chrootDir = $user->prop('ChrootDir') || next; |
9 |
+ my $chrootDir = $user->prop('ChrootDir') || $ftp{'ChrootDir'} || next; |
10 |
|
11 |
if ( $chrootDir =~ m#^/# && -d $chrootDir ) |
12 |
{ |