View Issue Details

This bug affects 2 person(s).
 6
IDProjectCategoryView StatusLast Update
20138Bug reportsComfortUpdatepublic2025-06-11 09:17
ReporterRobertEhrenleitner-PLUS Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Summary20138: ComfortUpdate does not sufficiently check if files are modifyable
Description

Hi all,

This bug report refers to the support ticket 43908. This happened during upgrade from 6.8.2+241203 to the latest version as of 2025-05-23. When it finally succeeded on 2025-06-10, it was 6.14.1+250527 .

When starting the ComfortUpdate, files are being checked wheter they are writable. Being writable means that the files and directories need to have write permissions. This is achieved by setting chmod a+w. However, to change the files' ctimes/mtimes, the files have to owened as well (chown). This case is not covered by the pre-checks. If so, update will fail in the middle of the run.

The process can be improved so that the pre-checks make sure that ctimes/mtimes can be set as well.

Kind regards.

Steps To Reproduce
  1. Install LimeSurvey (6.8.2+241203, it was the first time this happened for me).
  2. Secure it by setting owner and groups to nobody
  3. According to https://www.limesurvey.org/manual/Installation_-_LimeSurvey_CE, set the permissions for tmp, upload and application/config to chmod -R a+w but not to apache:apache (contrary to the note in the yellow box, but it is more secure).
  4. Run ComfortUpdate
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)6.8.2+241203
I will donate to the project if issue is resolvedNo
BrowserMicrosoft Edge
Database type & versionMariaDB
Server OS (if known)Red Hat Linux 8
Webserver software & version (if known)Apache HTTPD 2.4.37
PHP VersionPHP-FCGI 8.1.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-06-11 09:17 RobertEhrenleitner-PLUS New Issue
2025-06-13 11:22 guest Bug heat 0 => 6