Title: masterdevops's Replies | WordPress.org

---

# masterdevops

  [  ](https://wordpress.org/support/users/masterdevops/)

 *   [Profile](https://wordpress.org/support/users/masterdevops/)
 *   [Topics Started](https://wordpress.org/support/users/masterdevops/topics/)
 *   [Replies Created](https://wordpress.org/support/users/masterdevops/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/masterdevops/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/masterdevops/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/masterdevops/engagements/)
 *   [Favorites](https://wordpress.org/support/users/masterdevops/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Display Git Status] The saved location is not a git repository!](https://wordpress.org/support/topic/the-saved-location-is-not-a-git-repository/)
 *  Thread Starter [masterdevops](https://wordpress.org/support/users/masterdevops/)
 * (@masterdevops)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/the-saved-location-is-not-a-git-repository/#post-13930020)
 * To check if `shell_exec` is enabled I used this code
 *     ```
       <?php
   
               if(function_exists('shell_exec')) {
                   echo "exec is enabled\n";
               }
   
       ?>
       ```
   
 * and called it with `php file.php` on the command line. The result was that I 
   got the message `exec is enabled`. I did it with the same user name as apache
   is running (i.e. `www-data`).
 * I also checked the correct ownership of the file under `/var/www/html/wp-content/.
   git` and there were files which had `root` as username and group. I changed it
   to `www-data` (including subdirectories) but the error message is still showing
   up.
 *     ```
       root@beb35a1d43af:/var/www/html/wp-content/.git# ls -al
       total 104
       drwxr-xr-x   8 www-data www-data  4096 Jan 19 23:06 .
       drwxrwxrwx   8 www-data www-data  4096 Jan 19 22:31 ..
       -rw-r--r--   1 www-data www-data    14 Jan 19 22:12 COMMIT_EDITMSG
       -rw-r--r--   1 www-data www-data    20 Jan 19 22:43 HEAD
       drwxr-xr-x   2 www-data www-data  4096 Jan 19 22:10 branches
       -rw-r--r--   1 www-data www-data    92 Jan 19 22:10 config
       -rw-r--r--   1 www-data www-data    73 Jan 19 22:10 description
       drwxr-xr-x   2 www-data www-data  4096 Jan 19 22:10 hooks
       -rw-r--r--   1 www-data www-data 55115 Jan 19 23:06 index
       drwxr-xr-x   2 www-data www-data  4096 Jan 19 22:10 info
       drwxr-xr-x   3 www-data www-data  4096 Jan 19 22:12 logs
       drwxr-xr-x 234 www-data www-data  4096 Jan 19 22:11 objects
       drwxr-xr-x   4 www-data www-data  4096 Jan 19 22:10 refs
       ```
   

Viewing 1 replies (of 1 total)