files attached get 600 permission (3 posts)

  1. wottem
    Posted 2 years ago #

    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);


  2. Wayne Allen
    Plugin Author

    Posted 2 years 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
    Posted 2 years ago #

    yes, it works correctly and gets the right permissions.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Postie
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic