GLPI - File Permission Issues
su-toto
Posted messages
45
Registration date
Status
Membre
Last intervention
-
fab-lc Posted messages 1 Status Membre -
fab-lc Posted messages 1 Status Membre -
Hello,
After hours of scouring the web and rummaging through my brain, I'm turning to the knowledge of some of you for a problem that's becoming hard to understand; let me explain:
I have a Fedora 20 server on which I've installed Apache2 (that is, httpd on Fedora) as well as MySQL and PHP5, in short, a brand new and functional LAMP stack (phpMyAdmin works perfectly, etc.)
I wanted to install GLPI to manage the IT assets, so far everything is fine; I downloaded it, copied/pasted the ./glpi directory into /var/www/html/glpi and I chown everything, which gives us:
Normally, that should be enough, but nothing happens; during the installation process, I get errors saying that permissions are insufficient to create directories and files
So I decide to give it my all, at least for the time being, since my server is only local:
I then check with ls -l /var/www/html/glpi and I get:
So even a simple guest user could create a folder, modify or create a file, etc.
EXCEPT THAT... Once again during the installation, I still get messages like:
I specify that I restarted Apache after each of these actions, even tried to stop/start but nothing works...
So if anyone has a suggestion for a problem I couldn't even conceive, it is welcome :-)
Configuration: Linux / Firefox 30.0
After hours of scouring the web and rummaging through my brain, I'm turning to the knowledge of some of you for a problem that's becoming hard to understand; let me explain:
I have a Fedora 20 server on which I've installed Apache2 (that is, httpd on Fedora) as well as MySQL and PHP5, in short, a brand new and functional LAMP stack (phpMyAdmin works perfectly, etc.)
I wanted to install GLPI to manage the IT assets, so far everything is fine; I downloaded it, copied/pasted the ./glpi directory into /var/www/html/glpi and I chown everything, which gives us:
chown -R apache:apache /var/www/html/glpi
Normally, that should be enough, but nothing happens; during the installation process, I get errors saying that permissions are insufficient to create directories and files
So I decide to give it my all, at least for the time being, since my server is only local:
chmod -R 777 /var/www/html/glpi
I then check with ls -l /var/www/html/glpi and I get:
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 ajax
-rwxrwxrwx. 1 apache apache 159 18 Jun 10:18 AUTHORS.txt
-rwxrwxrwx. 1 apache apache 64 18 Jun 10:19 CHANGELOG.txt
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 config
-rwxrwxrwx. 1 apache apache 18092 18 Jun 10:18 COPYING.txt
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 css
drwxrwxrwx. 13 apache apache 4096 20 Jun 15:33 files
drwxrwxrwx. 2 apache apache 20480 20 Jun 15:33 front
drwxrwxrwx. 2 apache apache 20480 20 Jun 15:33 inc
-rwxrwxrwx. 1 apache apache 6316 18 Jun 10:19 index.php
drwxrwxrwx. 3 apache apache 4096 20 Jun 15:33 install
drwxrwxrwx. 15 apache apache 4096 20 Jun 15:33 lib
-rwxrwxrwx. 1 apache apache 145 18 Jun 10:18 LISEZMOI.txt
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 locales
-rwxrwxrwx. 1 apache apache 3398 18 Jun 10:18 login.php
-rwxrwxrwx. 1 apache apache 2107 18 Jun 10:19 logout.php
drwxrwxrwx. 5 apache apache 4096 20 Jun 15:33 pics
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 plugins
-rwxrwxrwx. 1 apache apache 122 18 Jun 10:18 README.txt
-rwxrwxrwx. 1 apache apache 16495 18 Jun 10:18 script.js
drwxrwxrwx. 2 apache apache 4096 20 Jun 15:33 scripts
-rwxrwxrwx. 1 apache apache 5632 18 Jun 10:18 status.php
So even a simple guest user could create a folder, modify or create a file, etc.
EXCEPT THAT... Once again during the installation, I still get messages like:
Configuration file write test
The folder could not be created.
Checking permissions on the directory: /var/www/html/glpi/config'
I specify that I restarted Apache after each of these actions, even tried to stop/start but nothing works...
So if anyone has a suggestion for a problem I couldn't even conceive, it is welcome :-)
Configuration: Linux / Firefox 30.0
cat /etc/passwd returns: