• mguise

    (@mguisemattguisecom)


    Hi WordPress Community

    I’m new and I’ve seen that this is a topic that has been generally touched upon but my situation seems slightly more specific.

    I am on a Mac OS X version 10.8.5. I have successfully installed WordPress locally on my computer but I’m having trouble installing a theme.

    When I got to my WordPress dashboard and select Appearance/Themes/Install Themes/Upload and navigate to my zip theme Applications/XAMPP/xamppfiles/apps/wordpress/htdocs/wp-content/themes/CherryFramework.zip and select “Install Now” I get the following message.

    “Unable to create directory wp-content/uploads/2013/10. Is its parent directory writable by the server?”

    Not sure if you need to know this but in my web browser the path is https://localhost/wordpress/wp-admin/update.php?action=upload-theme.

    When I “get info” for the following:
    Applications folder – system is Read & Write, admin is Read & Write, everyone is Read only
    XAMPP folder – system is Read & Write, admin is Read & Write, everyone is Read only
    xamppfiles folder – system is Read & Write, admin is Read & Write, everyone is Read only
    apps folder – User Name (Me) is Read & Write, admin is Read only, everyone is Read only
    wordpress folder – User Name (Me) is Read & Write, admin is Read only, everyone is Read only
    htdocs folder – User Name (Me) is Read & Write, admin is Read only, everyone is Read only
    wp-content folder – User Name (Me) is Read & Write, admin is Read only, everyone is Read only
    themes folder – User Name (Me) is Read & Write, admin is Read & Write, everyone is Read & Write
    CherryFramework.zip – User Name (Me) is Read & Write, admin is Read & Write, everyone is Read & Write

    So to me everything looks good. What am I doing? Why am I still getting that error message. Thanks in advance for your help.

Viewing 7 replies - 16 through 22 (of 22 total)
  • Great! Can you explain how to do that? I’m using MAMP so how does that affect permissions?

    Thread Starter mguise

    (@mguisemattguisecom)

    Hi Everyone

    I knew that it was probobaly a file permissions issue. I’ve tried everything to change the permissions on my file and I am having no luck.

    I temporarily uploaded some images on the internet. Could you please take a look at them? I’m not sure why this is not working.

    images

    In the first image you can see that I went to my terminal and entered

    chmod -R 777 /applications/xampp/xamppfiles/apps/wordpress/htdocs/wp-content/themes/widgets.json

    You can see in the next image that my path is correct. In the following image you can see that I am still getting the same error message.

    Does anyone have an idea as to why it will not work? Thank you for your help.

    Thread Starter mguise

    (@mguisemattguisecom)

    I suddenly got it to work and was able to import the widgets.json.
    I opened the terminal and put this in

    chmod -R 777 /applications/xampp/xamppfiles/apps/wordpress/htdocs/wp-content/

    Thus successfully changed the permission of the file. So to make it work for you, make sure you have the right path. Mine may or probably is different than your path.

    This might seem really basic, but I’m starting back here to see if this will make the parent directory writable.
    Go to the “wp-content” folder in finder, create a new folder called
    “uploads” (if it doesn’t already exist) and then right click on it, select “Get Info”, a pop up box will appear, at the bottom select “Read & Write” for all the options.

    Just want to say real quick, the above solution by bascent is by far the best one I have seen and I wish there was a way to like it! This is the way to go for a local development environment, no messing with the terminal or any other things.

    Found a solution, hope it helps someone.

    Add this to the wp-config.php file

    /** Override default file permissions */
    if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
    }

    It overrides the default permissions and also removes the FTP requirement. This error rises from the installation of a plugin within the dashboad where the permissions where not setup correctly on the web server.

    Hartech Softworks,
    thanks for your solution.
    it worked for me on Mac OS X 10.9, XAMPP 1.8.3-4 and WordPress 3.9

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Mac OS X version 10.8.5 Unable to create directory wp-content/uploads/2013/10’ is closed to new replies.