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

Re: Comment faire - set upload_tmp_dir to a non-world-readable directory



    Bonjour,


Le vendredi 02 août 2019, G2PC a écrit...


> upload_tmp_dir is disabled, or is set to a common world-writable
> directory. This typically allows other users on this server to access
> temporary copies of files uploaded via your PHP scripts. You should set
> upload_tmp_dir to a non-world-readable directory
> Current Value: /var/www/temporaire_php (0755)
> Recommended Value: A non-world readable/writable directory

Avec 755 il n'est pas non-world-readable, tu dois bien t'en douter.

> J'ai testé différents CHMOD :
> 0700 / 1700 / 0007 / 1007

À 700, il devrait l'être. As tu eu des erreurs quelconques lorsque tu as
passé ton répertoire en 700 ?


-- 
jm


Reply to: