#4350 - Canonicalise cron_bridge.sh and fixing of .sh script permissions

Identifier #4350
Issue type Feature request or suggestion
Title Canonicalise cron_bridge.sh and fixing of .sh script permissions
Status Completed
Handling member Chris Graham
Version 10.0.31
Addon core
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.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4350 (Canonicalise cron_bridge.sh and fixing of .sh script permissions) (ffc86685) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated