Question

Drupal 7's recommended file permissions don't allow it's /scripts/*.sh files to execute. Should any server user have the ability to run those?

Was it helpful?

Solution

No. You don't need to execute permissions on those scripts in a production server environment.

The only reason you'd need those scripts executable on a server is for running code testing utilities (e.g. simpletest test cases, generating dummy content, etc.) on the codebase. Unless you're wanting to run some of those testing utilities on a CI server, they don't need to be executable for Drupal to work.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top