Dotclear

Ticket #803 (closed defect: duplicate)

Opened 15 years ago

Last modified 15 years ago

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

comment:1 Changed 15 years ago by franck

  • Component changed from module:core to module:clearbricks

comment:2 Changed 15 years ago by xave

  • Status changed from new to closed
  • Resolution set to duplicate

pas le courage de fouiller, mais duplicate d'un ticket fermé dans la 2.1.6

Note: See TracTickets for help on using tickets.

Sites map