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

File permissions on LAMP server install

  • dporter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #1186 by 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?

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #1188 by coursenligne
Replied by coursenligne on 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...

Please Log in or Create an account to join the conversation.

  • dporter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #1189 by dporter
Replied by dporter on 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.

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #1190 by coursenligne
Replied by coursenligne on 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...

Please Log in or Create an account to join the conversation.

  • dporter
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 5 months ago #1191 by dporter
Replied by dporter on 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

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #1194 by tom
Replied by tom on 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>

Please Log in or Create an account to join the conversation.

Time to create page: 0.162 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo