Hi Ismael,
so, just for clearification:
The snippet
$created = wp_mkdir_p( trailingslashit( $folder ) );
@chmod( $folder, 0755 );
needs to be inserted into the functions.php of the child theme?
Or does the whole code you provided with https://kriesi.at/support/topic/permissions-on-dynamic_avia-directory/#post-819144
need to be inserted in the child theme functions.php?
Best regards
Hi Victoria,
I know this thread. But I still don’t know why it is 777 nor do I know an easy way to change it to a lower permission, that won’t change back automatically.
Why not an easy switch or detailed information on what to put where to disable this?
BR