Ticket #803 (closed defect: duplicate)
chmod des fichiers en cache
Reported by: | franck | Owned by: | xave |
---|---|---|---|
Priority: | normal | Milestone: | 2.2 |
Component: | module:clearbricks | Version: | 2.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
Sur certaines config de serveur, le chmod du fichier en cache (dans la fonction inheritChmod() de lib.files.php) provoque ce warning :
Warning: chmod() [function.chmod]: Operation not permitted in /var/www/franck-paul.fr/www/opquast/dotclear/inc/clearbricks/common/lib.files.php on line 315
En instrumentant le code j'obtiens cette trace :
$file : /var/www/franck-paul.fr/www/opquast/dotclear/cache//cbtpl/1c/13/1c13d8979bf33d0cbf2eeaf11e17a99d.php fileperms($file) : 33277 dirname($file) : /var/www/franck-paul.fr/www/opquast/dotclear/cache//cbtpl/1c/13 fileperms(dirname($file)) : 16893
J'ai l'impression que le chmod() d'un schéma de dossier (le 100 du 100775) sur un fichier (lui-même en 040775) passe mal. Faut-il que Dotclear en tienne compte ou pas ? This is ze question ;-)
Change History
Note: See
TracTickets for help on using
tickets.