WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] EC2 Bitnami WordPress MU Uploads 777 Permissions (5 posts)

  1. John
    Member
    Posted 2 years ago #

    I've installed WPMU on EC2 with a Bitnami AMI. It all seems to be working but not only can I not upload to Blogs.dir, but apparently I can't change the default Media upload file, or the upload file structure. I got hacked real bad recently and don't want to risk a 777 directory. I've looked at the various workarounds but wondering if I've missed something.
    I saw this hack which 'MAY' work.
    http://halfelf.org/2011/wordpress-dso-and-permissions/
    define('FS_CHMOD_DIR', (0755 & ~ umask()));
    define('FS_CHMOD_FILE', (0644 & ~ umask()));
    and, (which seems pretty simple, but will it work on WPMU?)
    http://www.techbuzz.in/unable-to-create-directory-wp-contentuploads200909-is-its-parent-directory-writable-by-the-server.php
    define(‘UPLOADS’, ‘wp-content/new_folder’);

  2. Halfelf is on a multisite :) It's actually tech.ipstenu.org ;) Works just fine.

    Don't mess around with re-defining uploads on Multisite, it's not worth the headache.

  3. John
    Member
    Posted 2 years ago #

    Thanks!

  4. Beltran_r
    Member
    Posted 2 years ago #

    Hi Jhon, this issue was fixed in recent versions of BitNami WordPress Multisite. Now you can upload images in any blog that you created in your Network. I hope it helps.

  5. John
    Member
    Posted 2 years ago #

    Beltran that's great that the permissions issue has been addressed. Hopefully I'll be able to reconstruct this, for me, extremely taxing and tentative process that ends up in a domain-mapped EC2 WP multi-site. Cue Nietzsche quote.

Topic Closed

This topic has been closed to new replies.

About this Topic