View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06362Bug reportspublic2021-12-30 11:39
Reporteruser20767Assigned Togalads  
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Product Version1.92RC2 
Summary06362: allow links or configuration on directories that need write access
Description

It 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 Reproduce

Create 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 Information

Happy to provide additional info or rationale. I'd love to get limesurvey in Fedora. :)

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

galads

galads

2021-12-30 11:39

reporter   ~67880

Dear user20767 ,

Thank you for suggesting a feature/reporting a bug.

However, we will not be picking this up because the use case is too specific or the use case might not fit to the latest versions of LimeSurvey.

If you feel otherwise, feel free to re-open the report.

kind regards,
galads

Issue History

Date Modified Username Field Change
2012-07-21 22:07 user20767 New Issue
2021-12-30 11:39 galads Assigned To => galads
2021-12-30 11:39 galads Status new => closed
2021-12-30 11:39 galads Resolution open => won't fix
2021-12-30 11:39 galads Note Added: 67880
2026-11-20 10:33 c_schmitz Category Installation => (No Category)