View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004350 | Composr | core | public | 2020-08-17 04:45 | 2020-08-17 04:45 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Severity | Feature-request | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 10.0.31 | ||||
Fixed in Version | 10.0.32 | ||||
Summary | 0004350: Canonicalise cron_bridge.sh and fixing of .sh script permissions | ||||
Description | The 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. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Fixed in git commit ffc86685f (https://gitlab.com/composr-foundation/composr/commit/ffc86685f - link will become active once code pushed to GitLab) |