View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06320Bug reportsInstallationpublic2012-07-14 17:03
Reporteruser20848Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionnot fixable 
Product Version2.00RC4 
Summary06320: Code does not follow symlinks
Description

We are working on packaging up limesurvey for the Fedora Project for users to be able to install. In following standard packaging guidelines, we put the non-writable code in /usr/share/limesurvey and the writable directories in /var/lib/limesurvey with symlinks between /usr/share/limesurvey and /var/lib/limesurvey.

This works for most of the symlinks except the one from

/usr/share/limesurvey/application/config -> /var/lib/limesurvey/application/config

The initial configuration page will fail saying that the code is not writable but we are guessing the check is failing because it looks at a symlink and not working.

Steps To Reproduce

Install on a Linux system and do the follomwing

mv ./limesurvey/application/config ./limesurvey/application/config2
ln -sf ./limesurvey/application/config2 ./limesurvey/application/config

The install should now report that the directory is not writable.

Additional Information

Mainly what I am looking for is the following:

1) Where I should patch to have it look for it to follow a symlink before checking whether it can read/write.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)120528
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql-5.5.24-1.fc16.i686
Server OS (if known)Fedora Linux / RHEL Linux
Webserver software & version (if known)Apache 2.2.22
PHP Versionphp-5.3.13-1.fc16.i686
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-07-14 17:02

administrator   ~19735

Check out InstallerController.php Line 800 ff.

c_schmitz

c_schmitz

2012-07-14 17:03

administrator   ~19736

If your solution is generic please create a pull request on gitHub. Thank you!

Issue History

Date Modified Username Field Change
2012-07-11 21:41 user20848 New Issue
2012-07-14 17:02 c_schmitz Note Added: 19735
2012-07-14 17:02 c_schmitz Assigned To => c_schmitz
2012-07-14 17:02 c_schmitz Status new => feedback
2012-07-14 17:03 c_schmitz Note Added: 19736
2012-07-14 17:03 c_schmitz Status feedback => closed
2012-07-14 17:03 c_schmitz Resolution open => not fixable