wpdreams / ajax-search-pro-development

Issues and dev tracking repository for Ajax Search Pro for WordPress plugin
0 stars 0 forks source link

Creation of required directories causes wrong cache folder permissions in some cases #116

Closed ernestmarcinko closed 4 months ago

ernestmarcinko commented 4 months ago

Describe the bug

Reference ticket.

Suspected that one of the ->chmod() triggers in includes\classes\Utils\FileManager.php with a string parameter "0777" might be causing the wrong permissions to be set. The permissions should be set to either 0755 octal or FS_CHMOD_DIR constant. Preferably 0755 as those are cache directories.