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

  1. John
    Posted 4 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.
    define('FS_CHMOD_DIR', (0755 & ~ umask()));
    define('FS_CHMOD_FILE', (0644 & ~ umask()));
    and, (which seems pretty simple, but will it work on WPMU?)
    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
    Posted 4 years ago #


  4. Beltran_r
    Posted 4 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
    Posted 4 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