Permission denied errors
-
Hi!
In
stm_lms_generate_styles()
there are a couple calls to$wp_filesystem->mkdir()
which havechmod
argument set to0700
. 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 explicitchmod
should be removed in these cases and allow WordPress to use the default from theFS_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)
Viewing 1 replies (of 1 total)
- The topic ‘Permission denied errors’ is closed to new replies.