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

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



Un administrateur système pour comprendre une définition de
PhpSecInfo ?

Comment faire pour créer un " non-world-readable directory " ?
Mon dossier tmp est dans /var/www/temporaire_php
Appartient à Apache ( www-data ).

Quel CHMOD placer ? Pourquoi l'extension de PhpSecInfo refuse de considérer que ce dossier est un non-world-readable directory ?

La définition d'après PhpSecInfo

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

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


Reply to: