-
AuthorPosts
-
February 6, 2020 at 2:27 am #1181947
Hi,
The folder permissions of dynamic_avia in my /public_html/wp-content/uploads folder is set to 777. Its folder permissions needs, according to my web-hosting provider, to be set to 755. I have attempted a couple of times myself but I notice after 5-10 minutes it is changed back. It is a major security risk from their standpoint and they need to get it fixed.
I have read many posts about this issue, but iIam unsure how to change this in Enfold 4.7. Can you please advise me how to change the permissions.Kind Regards,
MaartenFebruary 6, 2020 at 7:02 pm #1182117Hey Maarten,
How did you attempt to change it the first time? You can change permissions via FTP. There are also a few plugin options.
Best regards,
Jordan ShannonFebruary 7, 2020 at 2:49 am #1182215Hi Jordan,
I changed it using the file manager via my Cpanel. It changes back everytime.
I am using an Enfold child theme. It looks like some file is changing the setting. Do I have to make a change somewhere in the coding?Best Regards,
MaartenFebruary 8, 2020 at 4:18 pm #1182601Hi,
Thanks for reporting this.
This is really caused by Enfold. I changed the logic for creating folders a bit and now the default security setting will be 755 (filterable with avf_folder_security) for new created folders. Security for already existing folders will not be changed any more.
Will be in next update 4.7.2.1 (should be next week).
If you want to have a quck fix:
In file enfold\framework\php\function-set-avia-backend.php around line 939 you find:
@chmod( $folder, 0777 );Replace with:
@chmod( $folder, 0755 );Do not forget to make a backup of the original file for a fallback.
Best regards,
GünterFebruary 11, 2020 at 5:18 am #1183329Hi Günter,
Thank you for your response.
I updated to version 4.7.3 and changed the setting via Cpanel file manager to 755.
It looks like it not reverting back anymore.Thank you for your – as always – excellent support.
Best Regards,
MaartenFebruary 11, 2020 at 9:33 am #1183362 -
AuthorPosts
- The topic ‘folder dynamic_avia permissions needs to be set to 755’ is closed to new replies.
