Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

File permissions on LAMP server install

Plus d'informations
il y a 12 ans 5 mois #1186 par dporter
File permissions on LAMP server install a été créé par dporter
Hi there

I'm installing Xerte onto a LAMP server for a trial at my University. The installation process is failing because it is reporting that the permissions for the site root, setup, USER-FILES, error_logs and import are set incorrectly, however, on the server and in a file transfer program the permission settings for all of these folders is set correctly as indicated by the error messages.

Am I missing something obvious?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 5 mois #1188 par coursenligne
Réponse de coursenligne sur le sujet File permissions on LAMP server install
Obvious I suspect not ;)
If it is a test server, then you can try a chmod -R 777 from the root of XOT install.
ATTENTION, Very important : you allow all permissions to all, so anybody can damage your install !
This is for a temporary testing purpose only !

I said it, yes i did ;)
OK if it's working, so it is definitly a permission issue !
Why this can be ? OK when you transfer the files, you login to your site using your own credentails, so you are the owner... XOT is not you, so it's seen as "other" by your Linux... You have to put XOT and all sub-directory into a group that has enough priviledges.

I hope this makes sens and helps....

If I can help I will do for sure...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 5 mois #1189 par dporter
Réponse de dporter sur le sujet File permissions on LAMP server install
Thanks for the suggestion but I'm afraid that didn't work. I've done a fresh install and set the appropriate permissions from the command line and I'm still stuck in the same place.

Does anyone have any clues I could follow up? Thanks.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 5 mois #1190 par coursenligne
Réponse de coursenligne sur le sujet File permissions on LAMP server install
OK when you say the appropriate permissions... I'm a bit surprised, as 777 is not really appropriate.

Did you have a try with them ?
Do you have any logs on your server ?
Can you give a bit more about your environment (PHP verion and so on ?)

I hope you'll soon get rid of your issue.

If I can help I will do for sure...

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 5 mois #1191 par dporter
Réponse de dporter sur le sujet File permissions on LAMP server install
I think I've cracked it - it's to do with the web server user rights on my LAMP instance. I'm going to try modifying the rights for the web user account and see if that allows me to progress

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 5 mois #1194 par tom
Réponse de tom sur le sujet File permissions on LAMP server install
When you mention LAMP, I assume you are using the Apache web server. The permissions need to be set so that the apache web server can access/write the files. The way I personnaly do that is that I change the owner of all the files to the user account that is running the apache server. Which user that is, depends on the specific Linux distribution you are using. For example, for OpenSUSE it's wwwrun

So I normally run a chown -R wwwrun <xerte install dir>

If you cannot change the owner, it should really be sufficient (as a test to open up all the files, i.e.

chmod -r a+rw <xerte install dir>

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.132 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo