Hi Olivier,

> For rights I'm using the following commands:
> 
> sudo chmod -R ug=rwX,o=r /var/www
> 
> sudo chown -R www-data:www-data /var/www
> 
> To be sure …

Thanks for the suggestion!

The Debian package installs glpi files under /usr/share/glpi and then uses a 
specific apache configuration file for glpi with these contents:

Alias /glpi /usr/share/glpi

<Directory /usr/share/glpi>
  DirectoryIndex index.php
  Options FollowSymLinks
  AllowOverride Limit Options FileInfo
</Directory>

So what I did is (as root):

chmod -R ug=rwX,o=r /usr/share/glpi
chown -R www-data:www-data /usr/share/glpi

and then restarted the glpi computer. Unfortunately, there was no change: I 
tried adding components, both to a previously existing added computer and to a 
newly added one, and I got the error "You don't have permission to perform 
this action.", as described in my initial message, in both cases.

I was wondering... is there some debugging mode or option in glpi (or maybe in 
apache or php), that I could use to find exactly which operation fails? I've 
searched the apache logs, but I have not been able to find any message related 
to this error, so I assume is beind dealt with internally by the glpi code.

Thanks again for your help!

Josep Guerrero

_______________________________________________
Glpi-user mailing list
[email protected]
https://mail.gna.org/listinfo/glpi-user

Reply via email to