Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1

TOPIC:

File permissions on LAMP server install 10 years 9 months ago #1186

  • dporter
  • dporter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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 Inloggen or Create an account to join the conversation.

File permissions on LAMP server install 10 years 9 months ago #1188

  • coursenligne
  • coursenligne's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 43
  • Thank you received: 3
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 Inloggen or Create an account to join the conversation.

File permissions on LAMP server install 10 years 9 months ago #1189

  • dporter
  • dporter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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 Inloggen or Create an account to join the conversation.

File permissions on LAMP server install 10 years 9 months ago #1190

  • coursenligne
  • coursenligne's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 43
  • Thank you received: 3
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 Inloggen or Create an account to join the conversation.

File permissions on LAMP server install 10 years 9 months ago #1191

  • dporter
  • dporter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
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 Inloggen or Create an account to join the conversation.

File permissions on LAMP server install 10 years 9 months ago #1194

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
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 Inloggen or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.052 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search