J'ai installé un environnement LAMP sous Archlinux en ayant configuré les droits du dossier /srv/http avec les commandes:
Code : Tout sélectionner
chgrp --recursive http /srv/http
chmod --recursive g+w /srv/http
- les fichiers de /srv/http appartiennent au groupe Apache (http)
- les droits d'écriture soient activés pour les fichiers de /srv/http
Code : Tout sélectionner
ls -al /srv/http
Code : Tout sélectionner
d-wx-wx--x 5 root http 4096 Aug 20 19:44 .
drwxr-xr-x 4 root root 4096 Sep 30 2015 ..
drwxrwxr-x 2 root http 4096 Jun 12 14:41 Booklist
drwxrwxr-x 2 root http 4096 Apr 18 00:06 Dactylo
drwxrwxr-x 7 root http 4096 Apr 3 11:52 symfony_demo
-rwxrwxr-x 1 root http 23 Apr 11 20:39 test.php
E45: 'readonly' option is set (add ! to override)
Pourtant, j'appartiens bien au groupe http et le groupe a bien les droits d'écriture sur /srv/http.
En regardant les droits du fichier que je voudrais modifier:
Code : Tout sélectionner
ls -l /srv/http/Dactylo/inscription.php
Code : Tout sélectionner
-rwxrwxr-x 1 root http 789 Apr 16 23:54 /srv/http/Dactylo/inscription.php
Je vous remercie par avance