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

File permissions on LAMP server install

  • dporter
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 6 maanden geleden #1186 door dporter
File permissions on LAMP server install werd gestart door 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?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 6 maanden geleden #1188 door coursenligne
Beantwoord door coursenligne in topic 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...

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • dporter
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 6 maanden geleden #1189 door dporter
Beantwoord door dporter in topic 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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 6 maanden geleden #1190 door coursenligne
Beantwoord door coursenligne in topic 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...

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • dporter
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 6 maanden geleden #1191 door dporter
Beantwoord door dporter in topic 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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 6 maanden geleden #1194 door tom
Beantwoord door tom in topic 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>

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.152 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo