vsftpd bug "or" feature ?

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



} this is a feature.
} here's the start() function for /etc/init.d/vsftpd:
} 
} start() {
}          # Start daemons.
} 
}          if [ -d /etc/vsftpd ] ; then
}                  for i in `ls /etc/vsftpd/*.conf`; do
}                          site=`basename $i .conf`
}                          echo -n $"Starting $prog for $site: "
}                          /usr/sbin/vsftpd $i &
}                          RETVAL=$?
}                          [ $RETVAL -eq 0 ] && {
}                             touch /var/lock/subsys/$prog
}                             success $"$prog $site"
}                          }
}                          echo
}                  done
}          else
}                  RETVAL=1
}          fi
}          return $RETVAL
} }
} 
} look at the loop that starts on the fifth line of the function; this
} loops through every .conf file in the vsftpd config directory (thus
} enabling you to run multiple ftp sites with different configurations
} off of a single machine).
} 
} if you want your backup file to be exempt, call it "vsftp.conf.bak"
} instead.  i'm surprised this issue hasn't bitten you earlier.
} 
} -steve

interesting, i didnt think of looking there at the time...

and you are right, when i save files i usually go the other way around...
like

cp -a something.conf something.conf.bak

im not sure i would consider it a feature though ;->

realistically, it is something that should have to be "enabled" or
"toggled", yet... im not the boss of the upstreams

thanks :-)

 - rh

--
Robert Hanson - Abba Communications
   Computer & Internet Services
 (509) 624-7159 - www.abbacomm.net


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux