LimeSurvey issue tracker
Registration

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
06362Development Installationpublic2012-07-21 22:072012-07-21 22:07
Reporteruser20767 
Assigned To 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
Product Version1.92RC2 
Target VersionFixed in Version 
Summary06362: allow links or configuration on directories that need write access
DescriptionIt would be nice if limesurvey would allow directories that need write access to be links to another location or make them configurable so the install could be split into readonly and writeable parts.

I'm helping package limesurvey for Fedora as a rpm, and our guidelines tell us that non arch specific read only files should be under /usr/share, but writable/changeable files should be under /etc or /var.

The bulk of limesurvey can be safely installed under /usr/share, but some directories need to be written by the webserver user. If we set those as links things mostly work, with one exception:

/usr/share/limesurvey/application/config cannot be a link to /var/lib/limesurvey/application/config. If we have this link, limesurvey fails to install, saying it cannot write to the indicated directory. Perhaps a check could be added for a link here and to follow it and check the linked directory for writablity?

Alternately, if there was some way to configure things to say: writable directories would all be under $foo that would be great too.

Directories that need to be writable:

application/config/
templates
tmp
upload

Everything else seems to run ok without.
Steps To ReproduceCreate a link from /usr/share/limesurvey/application/config to /var/lib/limesurvey/application/config.
Make sure /var/lib/limesurvey/application/config is owned by the apache/webserver user and is writable. Try and install. Installer will fail. Remove the link and copy the directory back and installer will run fine.
Additional InformationHappy to provide additional info or rationale. I'd love to get limesurvey in Fedora. :)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-07-21 22:07 user20767 New Issue


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker