View Issue Details

IDProjectCategoryView StatusLast Update
0004350Composrcorepublic2020-08-17 04:45
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version10.0.31 
Fixed in Version10.0.32 
Summary0004350: Canonicalise cron_bridge.sh and fixing of .sh script permissions
DescriptionThe fixperms.sh script doesn't set u+x permissions on any shell scripts.
This is because we document calling them like "sh somescript.sh" and hence execute permissions are not needed.

However, there is a workaround we have to use a cron_bridge.sh file on hosts that do not allow Cron jobs that call a script via the system PHP interpreter within the main Cronjob line (php somepath/cron_bridge.php). Our workaround requires the cron_bridge.sh file to have u+x permissions.

By canonicalising all this we can avoid fixperms.sh erasing the necessary u+x permissions from this script.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

admin

2020-08-17 04:45

administrator   ~0006678

Fixed in git commit ffc86685f (https://gitlab.com/composr-foundation/composr/commit/ffc86685f - link will become active once code pushed to GitLab)

Issue History

Date Modified Username Field Change