Copy Files on configs folder

Hi everyone!
I am trying to copy and past files on config folder.
I have some files there were I put .dist to end the names file. I create a folder names features (config/features) where i will save some configuration files. But when i deploy first time and i acess the application I jsut verify exists the .php, if not i have to copy the .dist to the same folder without the .dist.
And the result is “failed to open stream: Permission denied”, but the chmod is right.

Need some help!

Hello and welcome to our forums! :smiley:

Do you use laminas-config for that?