You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-12-01 18:37:20

Bibi007
Member
Registered: 2022-10-31
Posts: 112

Unable to create the folder /var/www/html/glpi/files/_plugins/data...

Good evening

To facilitate the file transfer from WINscp I replaced the owner of the GLPI folder (which was root) by my user with this command:
chown -R oliv:sudo /var/www/html/glpi/

But since I can no longer access glpi, here is the error message: Unable to create the folder /var/www/html/glpi/files/_plugins/datainjection/
I checked the permissions of the folders and they are all 755. I tried 777, but same problem.

Any idea of the problem?
Thanks smile

Offline

#2 2022-12-02 01:38:02

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 161

Re: Unable to create the folder /var/www/html/glpi/files/_plugins/data...

Bibi007 wrote:

Good evening

To facilitate the file transfer from WINscp I replaced the owner of the GLPI folder (which was root) by my user with this command:
chown -R oliv:sudo /var/www/html/glpi/

But since I can no longer access glpi, here is the error message: Unable to create the folder /var/www/html/glpi/files/_plugins/datainjection/
I checked the permissions of the folders and they are all 755. I tried 777, but same problem.

Any idea of the problem?
Thanks smile

The glpi folders should be httpd:httpd or apache:apache or www:www or something else, its must not own by your user account.


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

#3 2022-12-02 14:03:09

Bibi007
Member
Registered: 2022-10-31
Posts: 112

Re: Unable to create the folder /var/www/html/glpi/files/_plugins/data...

Thank you for your answer.

I'm a beginner, sorry.

What do you advise me to do?

Offline

#4 2022-12-02 15:52:09

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: Unable to create the folder /var/www/html/glpi/files/_plugins/data...

Supposing u are using ubuntu
chown -R www-data:www-data  /var/www/html/


If u really want to use winscp, use the root account password to be quickly

Offline

#5 2022-12-04 21:42:42

Bibi007
Member
Registered: 2022-10-31
Posts: 112

Re: Unable to create the folder /var/www/html/glpi/files/_plugins/data...

Kaya84 wrote:

Supposing u are using ubuntu
chown -R www-data:www-data  /var/www/html/


If u really want to use winscp, use the root account password to be quickly

that works !
You are great thank you very much smile

Offline

Board footer

Powered by FluxBB