Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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,
    Maarten

    #1182117

    Hey 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 Shannon

    #1182215

    Hi 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,
    Maarten

    #1182601

    Hi,

    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ünter

    #1183329

    Hi 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,
    Maarten

    #1183362

    Hi,

    Thanks for your feedback.

    Enjoy the theme and have a nice day.

    I will close this topic – feel free to come back when you need further assistance.

    Best regards,
    Günter

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘folder dynamic_avia permissions needs to be set to 755’ is closed to new replies.