WordPress.org

Ready to get started?Download WordPress

Forums

Postie
files attached get 600 permission (3 posts)

  1. wottem
    Member
    Posted 2 months ago #

    hi.
    Postie is a great plugin. I use it for a website that involves inputs from un-registered users I work with, and posting by mail is just what I need.
    My only problem is that the files attached get 600 permission so they cannot be downloaded of seen. I need to change permissions manually which is disturbing.
    I guess that line 1953 at postie-functions.php should do that:

    // Set correct file permissions
        $stat = stat(dirname($new_file));
        $perms = $stat['mode'] & 0000666;
        @ chmod($new_file, $perms);

    https://wordpress.org/plugins/postie/

  2. Wayne Allen
    Member
    Plugin Author

    Posted 2 months ago #

    I haven't heard of this issue before. Postie uses the standard WordPress functions for adding media to a post.

    Does the standard media uploader work correctly?

  3. wottem
    Member
    Posted 3 days ago #

    yes, it works correctly and gets the right permissions.

Reply

You must log in to post.

About this Plugin

About this Topic