Tagged: Security
-
AuthorPosts
-
March 18, 2015 at 6:06 pm #413842
I just found that function-set-avia-backend.php has hard-coded to chmod directories.
@chmod( $folder, 0777 );Thats not a good idea and bad for a lot of users and hosts.
For my case 755 is fine and there should be an option or something for this, not making everyones directories 777 like that.
Why is that needed ?
Thanks.
March 19, 2015 at 6:16 pm #414708Hey peterolle!
It is needed to create a folder for the theme framework.
Best regards,
YigitMarch 19, 2015 at 7:20 pm #414766Can you please elaborate on that ?
Thank you.
March 20, 2015 at 11:11 am #415200Hi!
That’s part of the
avia_backend_create_folderfunction which is currently used in two cases:
– To create thedynamic_aviafolder which contains the dynamically generated stylesheet (a compressed file containing the Styling Options, Quick CSS, etc).
– Create a temporary folder needed when uploading a custom .zip font file (https://vimeo.com/75743285).Cheers!
JosueApril 30, 2015 at 11:00 am #437308How can I override that to use 755 ?
Thanks.
April 30, 2015 at 2:23 pm #437448April 30, 2015 at 2:25 pm #437451Yeah and I will have to remember and do that in every single update. Thats what I don’t want to do.
Is there a function, option or something I can apply and forget about it ?
Thanks.
April 30, 2015 at 7:01 pm #437696Hi!
avia_backend_create_folderIs a pluggable function, you can just modify and copy it into your child theme functions.php.Regards,
JosueAugust 25, 2018 at 10:48 am #1001562Please share the code I have to add to functions.php.
Thank you.
August 25, 2018 at 11:42 am #1001593 -
AuthorPosts
- You must be logged in to reply to this topic.

