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

Re: gros pépin avec pure-ftpd



Bonjour

UPLOADSCRIPT est un script à faire toi-même. On peut l'utiliser pour
faire passer le fichier qui viens d'être uploader à l'antivirus par exemple.

Si tu n'utilise pas de tel script, laisse vide ces champs :

# example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl
UPLOADSCRIPT=

# if set, pure-uploadscript will spawn  running as the
# given uid and gid
UPLOADUID=
UPLOADGID=



Le 27/04/2016 04:35, Bernard Schoenacker a écrit :
> bonjour,
> 
> j'ai configuré pure-ftpd pour qu'il puisse correctement fonctionner en
> download (pas de soucis)
> 
> concernant la partie upload il me manque des parties que le mainteneur
> du paquet n'a pas mis :
> 
> cat /etc/default/pure-ftpd-common
> # Configuration for pure-ftpd
> # (this file is sourced by /bin/sh, edit accordingly)
> 
> # STANDALONE_OR_INETD
> # valid values are "standalone" and "inetd".
> # Any change here overrides the setting in debconf.
>   STANDALONE_OR_INETD=standalone  ## origin
> # STANDALONE_OR_INETD=inetd
> 
> # VIRTUALCHROOT: 
> # whether to use binary with virtualchroot support
> # valid values are "true" or "false"
> # Any change here overrides the setting in debconf.
> # VIRTUALCHROOT=false
> VIRTUALCHROOT=true
> 
> # UPLOADSCRIPT: if this is set and the daemon is run in standalone mode,
> # pure-uploadscript will also be run to spawn the program given below
> # for handling uploads. see /usr/share/doc/pure-ftpd/README.gz or
> # pure-uploadscript(8)
> 
> # example: UPLOADSCRIPT=/usr/local/sbin/uploadhandler.pl
> UPLOADSCRIPT= (il est où ce script ? )
> 
> # if set, pure-uploadscript will spawn  running as the
> # given uid and gid
> UPLOADUID= (quel uid choisir)
> UPLOADGID= (quel gid choisir)
> 
> 
> comment sortir de l'ornière boueuse ?
> 
> 
> slt
> bernard
> 
> 


-- 
EON Vincent
http://www.lws.fr
----------------------------------------------
Siége social:
LIGNE WEB SERVICES
4, RUE GALVANI
75017 PARIS - FRANCE
-----------------------------------------------

Ce message et toute pièce jointe sont confidentiels et doivent être
protégés contre toute divulgation. Si vous n'êtes pas le destinataire de
ce message, merci de téléphoner ou d'envoyer un email à l'expéditeur, et
de détruire ce message et toute pièce jointe.


Reply to: