title: unable to execute bash command within ubuntu : permissions denied
body: <p>unable to execute bash in docker container :ubuntu</p>
  
  <p>this is my bash script (its calling):</p>
  
  <pre><code>#!/bin/sh
  
  php bin/magento cache:clean
  php bin/magento cache:flush
  </code></pre>
  
  <p>it in turn calls this script:</p>
  
  <pre><code>&gt; #!/usr/bin/env php &lt;?php /**  * Copyright © Magento, Inc. All rights reserved.  * See COPYING.txt for license details.  */
  &gt; 
  &gt; if (PHP_SAPI !== 'cli') {
  &gt;     echo 'bin/magento must be run as a CLI application';
  &gt;     exit(1); }
  </code></pre>
  
  <p>this is the error message :</p>
  
  <pre><code>root@a72397092db6:/var/www/html# ./bins/clean
  bash: ./bins/clean: Permission denied
  root@a72397092db6:/var/www/html# 
  </code></pre>
  
  <p>I would like the script to execute . I do have permissions to execute it. 
  this is the permission for the directory. </p>
  
  <pre><code>-rw-r--r--  1 1000 root   68 Jul 23 14:07 clean
  -rw-r--r--  1 1000 root  234 Jul 23 14:07 compile
  -rw-r--r--  1 1000 root 6148 Jul 23 14:28 .DS_Store
  -rw-r--r--  1 1000 root  118 Jul 23 14:07 permissions
  </code></pre>