Support » Plugin: MasterStudy LMS – WordPress Course Plugin » Permission denied errors

  • Resolved Barry

    (@barry)


    Hi!

    In stm_lms_generate_styles() there are a couple calls to $wp_filesystem->mkdir() which have chmod argument set to 0700. In some hosting configurations this prevents the web server from having access to the styles directory and therefore these files aren’t readable. I think the explicit chmod should be removed in these cases and allow WordPress to use the default from the FS_CHMOD_DIR constant. This is a similar approach taken later in this same function with the call to $wp_filesystem->put_contents().

Viewing 1 replies (of 1 total)
  • Plugin Support AxelStylemixThemes

    (@axelstm)

    Hello Barry,

    Thank you for your message. We have reported this issue to our developers’ team. We will try to improve the plugin functions in the nearest updates.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Permission denied errors’ is closed to new replies.