Title: eitsadmin's Replies | WordPress.org

---

# eitsadmin

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/eitsadmin/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/eitsadmin/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006017)
 * PHP Version:
    php5 latest from amzn rpm using yum
 * I don’t even know what SuPHP or suhosin are
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006008)
 * I disagree in that we are step 3. I think we are at step 2. The directory structure
   for the plugin exists in the upgrade folder but there are no files at all in 
   any of the subdirs.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006006)
 * Side Note:
 * When i manually add a file or directory under the upgrade folder, using ftp client,
   it is added with the group write bit set. When i install a plugin, the folder
   that is created does not have the group write bit set.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006005)
 * I have done the following:
    `sudo chown -R apache ./upgrade/`
 * The ownership is now:
 *     ```
       drwxrwsr-x 3 testdomain4.com testdomain4.com.g plugins
       drwxrwsr-x 3 testdomain4.com testdomain4.com.g themes
       drwxrwsr-x 3 apache          testdomain4.com.g upgrade
       drwxrwsr-x 3 apache          testdomain4.com.g uploads
       ```
   
 * I cleaned out the upgrade folder and rearn plugin install. I have the same problem
   still.
 * I wdid not revert this change as it should be a benign change.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006004)
 * I have added the upgrade and uploads folder creation to my initialization script.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2006002)
 * at this point we are at testdomain4.com… just fyi.
 * the uploads directory is not created by default. It is only created after an 
   image upload is completed. I had not done any image uploads yet as we resolved
   that problem. As such no uploads dir existed. I have uploaded an image to a post
   and now it exists with the following permissions:
 *     ```
       drwxrwsr-x 3 testdomain4.com testdomain4.com.g plugins
       drwxrwsr-x 3 testdomain4.com testdomain4.com.g themes
       drwxrwsr-x 3 root            testdomain4.com.g upgrade
       drwxrwsr-x 3 apache          testdomain4.com.g uploads
       ```
   
 * upgrade is owned by root as it was manually created.
    uploads is owned by apache
   as it was created via the image upload process.
 * Having the uploads folder has made no change in the plugin install outcome.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/page/2/#post-2005998)
 * I did the following:
    sudo chmod 0777 upgrade/
 * This had no effect.
    I have reverted by doing the following: sudo chmod 0775 
   upgrade/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005996)
 * Linux Learning Note:
    g+s causes files and folders created to carry forward the
   groupw OWNER not permission the permission on creation is affected by the current
   umask setting. The default is 022 and i have modified this in the /etc/sysconfig/
   httpd and /etc/init.d/functions to be 002.
 * This has made no change in the permissions on directory creation.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005992)
 * I made the following chages:
 *     ```
       //* FTP Settings **/
       /** wp-content path */
       define('FS_METHOD', 'ftpext');
       define('FTP_BASE', '/');
       define('FTP_CONTENT_DIR', '/wp-content/');
       define('FTP_PLUGIN_DIR', '/wp-content/plugins/');
       define('FTP_USER', 'testdomain4.com');
       define('FTP_PASS', 'XXXXXXXXXXXX');
       define('FTP_HOST', 'ftp.enterpriseit.us');
       define('FTP_SSL', false);
       ```
   
 * I still receive the same error however there is now a directory in the upgrade
   folder. See permissions below:
 *     ```
       /wp-content/plugins/
       nothing new
       /wp-content/upgrade/
       drwxrwsr-x 3 root            testdomain4.com.g .
       drwxrwsr-x 5 testdomain4.com testdomain4.com.g ..
       drwxr-xr-x 3 testdomain4.com testdomain4.com.g the-welcomizer.tmp
       ```
   
 * Note that the new directory did not carry forward the write bit from the parent
   directory. I thought that g+s on the parent directory would cause that to carry
   forward.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005991)
 * Did some research. At this link [Editing_wp-config.php](http://codex.wordpress.org/Editing_wp-config.php)
   I found in the “WordPress Upgrade Constants” section the ftp contstants. I added
   the following to my wp-config.php:
 *     ```
       //* FTP Settings **/
       /** wp-content path */
       define('FS_METHOD', 'ftpext');
       define('FTP_BASE', '/ebs01/www/testdomain4.com/');
       define('FTP_CONTENT_DIR', '/ebs01/www/testdomain4.com/wp-content/');
       define('FTP_PLUGIN_DIR', '/ebs01/www/testdomain4.com/wp-content/plugins/');
       define('FTP_USER', 'testdomain4.com');
       define('FTP_PASS', 'XXXXXXXXXXXX');
       define('FTP_HOST', 'ftp.enterpriseit.us');
       define('FTP_SSL', false);
       ```
   
 * When attempting a plugin install I new receive a new error… hooray… right?
 * New Error:
    Downloading install package from [http://downloads.wordpress.org/plugin/the-welcomizer.1.3.4.9.zip…](http://downloads.wordpress.org/plugin/the-welcomizer.1.3.4.9.zip…)
 * Unpacking the package…
 * Could not copy file. /ebs01/www/testdomain4.com/wp-content/upgrade/the-welcomizer.
   tmp/
 * I then did the following in /wp-content:
 *     ```
       sudo mkdir upgrade
       sudo chmod -R 775 upgrade
       sudo chmod g+s upgrade
       ```
   
 * When I reran the plugin installer I received the same “Could not copy…” error
 * I have not reverted any changes. There are no additional directories or files
   in plugins or upgrade.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005990)
 * I did the following:
 * sudo mkdir upgrade
    sudo chmod -R 775 upgrade sudo chmod g+s upgrade
 * I reran a plugin install and it failed with the same error.
    I reverted this 
   change by doing the following:
 * sudo rm -Rf upgrade
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005967)
 * Oh… and there is no upgrade folder. 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005966)
 * Sorry for the delay. Busy day today…
 * Note testdomain1.com has become testdomain3.com. this is because i have updated
   my initiation scripts and rerun them to create a new domain. The current state
   is post initiation script.
 * Image upload – SUCCESS
    Plugin install – FAIL: Unable to locate WordPress Content
   Dir… Theme install – FAIL: Unable to locate WordPress Content Dir…
 * Permissions:
    drwxrwsr-x 4 testdomain3.com testdomain3.com.g /wp-content drwxrwxr-
   x 3 testdomain3.com testdomain3.com.g /wp-content/plugins drwxrwxr-x 3 testdomain3.
   com testdomain3.com.g /wp-content/themes drwxrwsr-x 3 apache testdomain3.com.
   g /wp-content/uploads
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005854)
 * No I was not able to upload images.
 * I did the following:
 * chmod 0775 /wp-content
 * Now I am able to upload images with no problem. However I still have the same
   error when trying to install plugins.
 * I did the following
 * chmod 0775 /wp-content/plugins
    chmod 0775 /wp-content/themes
 * This did not resolve the issue with plugins and themes. I reverted the second
   set of changes.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Theme & Plugin Install Failure – Unable to locate WordPress Content directory](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/)
 *  Thread Starter [eitsadmin](https://wordpress.org/support/users/eitsadmin/)
 * (@eitsadmin)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/theme-plugin-install-failure-unable-to-locate-wordpress-content-directory/#post-2005844)
 * I have done the following:
    chmod 0777 /wp-content/plugins/ chmod 0777 /wp-content/
   themes/
 * No change in behavior. I receive the same error.
 * I have reverted these changes.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/eitsadmin/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/eitsadmin/replies/page/2/?output_format=md)