View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06711 | Bug reports | Theme editor | public | 2012-10-16 10:39 | 2012-10-19 16:21 |
Reporter | zozlak | Assigned To | c_schmitz | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06711: Wrong filesystem privileages set to template preview | ||||
Description | When php is running as different user then www server (e.g. mod suphp is used under Apache) and secure suphp settings are being used (new files umask 0077), then templates preview files created by Limesurvey has insuficient privileages for web server to display it (file is accesible only by its owner and is owned by user different than user web server is running as). | ||||
Steps To Reproduce |
error message | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 121014 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5.5.24 | ||||
Server OS (if known) | Debian 6 (Squeeze) | ||||
Webserver software & version (if known) | Apache 2.2.22 | ||||
PHP Version | 5.4.4-7, suphp | ||||
LimeSurvey creates all files as webserver user (because the script itself is run by the webserver) so how would the webserver not be able to see it unless it is configured incorrectly. And if the script itself that created the file can set the file permission anway afterwards what good is the umask then? The only way would be to chmod files after creation but which mask would be applied here? There is no general permission scheme you can use here. Anyway, this sounds more like a feature request than a bug issue. |
|
My long and detailed reply has just been just lost, as I spent too much time writing it :(
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=9926 |
|
New version 2.00+ Build 121019 released. Please update. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-10-16 10:39 | zozlak | New Issue | |
2012-10-16 10:49 | c_schmitz | Note Added: 21348 | |
2012-10-16 10:49 | c_schmitz | Assigned To | => c_schmitz |
2012-10-16 10:49 | c_schmitz | Status | new => feedback |
2012-10-16 17:05 | zozlak | Note Added: 21379 | |
2012-10-16 17:05 | zozlak | Status | feedback => assigned |
2012-10-18 14:17 | c_schmitz | Status | assigned => resolved |
2012-10-18 14:17 | c_schmitz | Fixed in Version | => 2.00+ |
2012-10-18 14:17 | c_schmitz | Resolution | open => fixed |
2012-10-18 14:17 | c_schmitz | Changeset attached | => LimeSurvey master 916d8b47 |
2012-10-18 14:17 | c_schmitz | Note Added: 21437 | |
2012-10-19 16:21 | c_schmitz | Note Added: 21487 | |
2012-10-19 16:21 | c_schmitz | Status | resolved => closed |
2015-12-11 14:40 | c_schmitz | Category | Templates => Theme editor |