Je viens de faire une bêtise sur un de mes serveurs:
Voulant donner des droits d'écriture à tous les membres du groupe
www-data sur /var/www, j'ai lancer :
root@ocean:/var/#chmod -R 775 * /www
Conséquence je n'ai plus accès au webmail; voici l'erreur affiché :
*Warning*: session_start():
open(/var/lib/php4/sess_b68c30a6995efeb8f1f0c0ecf8152ed8, O_RDWR)
failed: Permission denied (13) in
*/usr/share/squirrelmail/functions/global.php* on line *333*
*Warning*: session_start(): Cannot send session cookie - headers already
sent by (output started at
/usr/share/squirrelmail/functions/global.php:333) in
*/usr/share/squirrelmail/functions/global.php* on line *333*
*Warning*: session_start(): Cannot send session cache limiter - headers
already sent (output started at
/usr/share/squirrelmail/functions/global.php:333) in
*/usr/share/squirrelmail/functions/global.php* on line *333*
*Warning*: Cannot modify header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:333) in
*/usr/share/squirrelmail/functions/i18n.php* on line *211*
*Warning*: Cannot modify header information - headers already sent by
(output started at /usr/share/squirrelmail/functions/global.php:333) in
*/usr/share/squirrelmail/src/login.php* on line *54
Comment puis-je m'ensortir? Je suis sur Debian Sarge et la machine sert
de serveur web, mail, dhcp et mysql en intranet; seul l'accès au webmail
(squirrelmail me pose problèmes).
*
--
Cordialement,
Patrice K. TO S S A V I
Informaticien Administrateur Linux
Concepteur-Manager Services Web
Président REFLETBENIN ONG
Tél: +229 97 44 53 55 / 90 95 88 71
041 BP 149 Cotonou - BENIN
http://www.refletbenin.net/ptossavi
http://www.refletbenin.net
http://www.actu.refletbenin.net
Skype: tossavikpatrice.tic
msn: ptossavi@hotmail.fr
yahoo: patricetossavi@yahoo.fr
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote:
*Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtDc, O_RDWR) failed: Permission denied (13) in *Unknown* on line *0*
*Warning*: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in *Unknown* on line *0
Patrice K. TO S S A V I Informaticien Administrateur Linux Concepteur-Manager Services Web Président REFLETBENIN ONG Tél: +229 97 44 53 55 / 90 95 88 71 041 BP 149 Cotonou - BENIN http://www.refletbenin.net/ptossavi http://www.refletbenin.net http://www.actu.refletbenin.net Skype: tossavikpatrice.tic msn: yahoo:
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Franck Joncourt a écrit :
On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote:
*Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtDc,
O_RDWR) failed: Permission denied (13) in *Unknown* on line *0*
*Warning*: Unknown: Failed to write session data (files). Please verify
that the current setting of session.save_path is correct (/var/lib/php5) in
*Unknown* on line *0
Patrice K. TO S S A V I
Informaticien Administrateur Linux
Concepteur-Manager Services Web
Président REFLETBENIN ONG
Tél: +229 97 44 53 55 / 90 95 88 71
041 BP 149 Cotonou - BENIN
http://www.refletbenin.net/ptossavi
http://www.refletbenin.net
http://www.actu.refletbenin.net
Skype: tossavikpatrice.tic
msn: ptossavi@hotmail.fr
yahoo: patricetossavi@yahoo.fr
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote:
*Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtDc, O_RDWR) failed: Permission denied (13) in *Unknown* on line *0*
*Warning*: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in *Unknown* on line *0
Patrice K. TO S S A V I Informaticien Administrateur Linux Concepteur-Manager Services Web Président REFLETBENIN ONG Tél: +229 97 44 53 55 / 90 95 88 71 041 BP 149 Cotonou - BENIN http://www.refletbenin.net/ptossavi http://www.refletbenin.net http://www.actu.refletbenin.net Skype: tossavikpatrice.tic msn: yahoo:
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Le Thursday 26 July 2007 21:22:07 Patrice TOSSAVI, vous avez écrit :
Franck Joncourt a écrit : > On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote: >> *Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtD c, >> O_RDWR) failed: Permission denied (13) in *Unknown* on line *0* >> >> *Warning*: Unknown: Failed to write session data (files). Please verify >> that the current setting of session.save_path is correct (/var/lib/php 5) >> in *Unknown* on line *0 > > sid:/var/lib# ls -al php5 > total 24 > drwx-wx-wt 2 root root 4096 2007-07-26 20:06 . > drwxr-xr-x 44 root root 4096 2007-07-26 20:02 .. > -rw------- 1 www-data www-data 16296 2007-07-26 20:06 sess_dYUBsE... > > Pour comparatif, voici ce que cela donne chez moi. Cela aidera peut-ê tre > à démarrer !
voici ce qu'il y a chez moi :
:/var/lib# ls -al php5 total 8 drwxr-xr-x 2 root root 4096 2007-07-02 22:46 .
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5. Ça permet à tout le monde de créer des fichiers à l'intérieur, ma is interdit de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky b it (le t à la fin des droits), comme pour /tmp. Il n'est valable qu'avec les droits d'écriture à tout le monde.
--nextPart4845997.XvvNK7FA9m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part.
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Le Thursday 26 July 2007 21:22:07 Patrice TOSSAVI, vous avez écrit :
Franck Joncourt a écrit :
> On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote:
>> *Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtD c,
>> O_RDWR) failed: Permission denied (13) in *Unknown* on line *0*
>>
>> *Warning*: Unknown: Failed to write session data (files). Please verify
>> that the current setting of session.save_path is correct (/var/lib/php 5)
>> in *Unknown* on line *0
>
> sid:/var/lib# ls -al php5
> total 24
> drwx-wx-wt 2 root root 4096 2007-07-26 20:06 .
> drwxr-xr-x 44 root root 4096 2007-07-26 20:02 ..
> -rw------- 1 www-data www-data 16296 2007-07-26 20:06 sess_dYUBsE...
>
> Pour comparatif, voici ce que cela donne chez moi. Cela aidera peut-ê tre
> à démarrer !
voici ce qu'il y a chez moi :
root@jupiter:/var/lib# ls -al php5
total 8
drwxr-xr-x 2 root root 4096 2007-07-02 22:46 .
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5.
Ça permet à tout le monde de créer des fichiers à l'intérieur, ma is interdit
de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky b it
(le t à la fin des droits), comme pour /tmp.
Il n'est valable qu'avec les droits d'écriture à tout le monde.
--nextPart4845997.XvvNK7FA9m
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Le Thursday 26 July 2007 21:22:07 Patrice TOSSAVI, vous avez écrit :
Franck Joncourt a écrit : > On Thu, Jul 26, 2007 at 08:29:53AM +0100, Patrice TOSSAVI wrote: >> *Warning*: Unknown: open(/var/lib/php5/sess_Xr49He5rbdFgDxI5D-hHPmmWtD c, >> O_RDWR) failed: Permission denied (13) in *Unknown* on line *0* >> >> *Warning*: Unknown: Failed to write session data (files). Please verify >> that the current setting of session.save_path is correct (/var/lib/php 5) >> in *Unknown* on line *0 > > sid:/var/lib# ls -al php5 > total 24 > drwx-wx-wt 2 root root 4096 2007-07-26 20:06 . > drwxr-xr-x 44 root root 4096 2007-07-26 20:02 .. > -rw------- 1 www-data www-data 16296 2007-07-26 20:06 sess_dYUBsE... > > Pour comparatif, voici ce que cela donne chez moi. Cela aidera peut-ê tre > à démarrer !
voici ce qu'il y a chez moi :
:/var/lib# ls -al php5 total 8 drwxr-xr-x 2 root root 4096 2007-07-02 22:46 .
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5. Ça permet à tout le monde de créer des fichiers à l'intérieur, ma is interdit de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky b it (le t à la fin des droits), comme pour /tmp. Il n'est valable qu'avec les droits d'écriture à tout le monde.
--nextPart4845997.XvvNK7FA9m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part.
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Patrice TOSSAVI
Gilles Mocellin a écrit :
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5. Ça permet à tout le monde de créer des fichiers à l'intérieur, mais interdit de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky bit (le t à la fin des droits), comme pour /tmp. Il n'est valable qu'avec les droits d'écriture à tout le monde.
Merci Gilles, tu es un ange.
Mon webmail est maintenant accessible.
-- Cordialement,
Patrice K. TO S S A V I Informaticien Administrateur Linux Concepteur-Manager Services Web Président REFLETBENIN ONG Tél: +229 97 44 53 55 / 90 95 88 71 041 BP 149 Cotonou - BENIN http://www.refletbenin.net/ptossavi http://www.refletbenin.net http://www.actu.refletbenin.net Skype: tossavikpatrice.tic msn: yahoo:
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
Gilles Mocellin a écrit :
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5.
Ça permet à tout le monde de créer des fichiers à l'intérieur, mais interdit
de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky bit
(le t à la fin des droits), comme pour /tmp.
Il n'est valable qu'avec les droits d'écriture à tout le monde.
Merci Gilles, tu es un ange.
Mon webmail est maintenant accessible.
--
Cordialement,
Patrice K. TO S S A V I
Informaticien Administrateur Linux
Concepteur-Manager Services Web
Président REFLETBENIN ONG
Tél: +229 97 44 53 55 / 90 95 88 71
041 BP 149 Cotonou - BENIN
http://www.refletbenin.net/ptossavi
http://www.refletbenin.net
http://www.actu.refletbenin.net
Skype: tossavikpatrice.tic
msn: ptossavi@hotmail.fr
yahoo: patricetossavi@yahoo.fr
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Il faut un chmod go-r,a+xwt ici, sur le répertoire /var/lib/php5. Ça permet à tout le monde de créer des fichiers à l'intérieur, mais interdit de supprimer/modifier ceuw qui ne nous appartiennent pas. C'est le sticky bit (le t à la fin des droits), comme pour /tmp. Il n'est valable qu'avec les droits d'écriture à tout le monde.
Merci Gilles, tu es un ange.
Mon webmail est maintenant accessible.
-- Cordialement,
Patrice K. TO S S A V I Informaticien Administrateur Linux Concepteur-Manager Services Web Président REFLETBENIN ONG Tél: +229 97 44 53 55 / 90 95 88 71 041 BP 149 Cotonou - BENIN http://www.refletbenin.net/ptossavi http://www.refletbenin.net http://www.actu.refletbenin.net Skype: tossavikpatrice.tic msn: yahoo:
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"
To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"
To UNSUBSCRIBE, email to with a subject of "unsubscribe". Trouble? Contact