Disable-filesystem-security

I have been trying to use .../config/disable-filesystem-security to prevent permissions being automatically changed for a single site (specifically execute permissions being removed), as documented at https://wiki.sympl.host/view/Website_Configuration_Reference#Filesystem_Permissions.

This doesn’t seem to work. I think the correct file to create is actually .../config/do-not-secure. Is that correct, or is is that configuration option actually doing something different? Creating that file has stopped the execute permissions being removed from that site.

Phil

Hi @phillight, and welcome!

You’re right about the switch being named do-not-secure at the moment, rather than the documented disable-filesystem-security - it should have been the latter, but the code wasn’t updated.

I’ve fixed this now in the testing branch, which will be live later today so the existence of either file will have the same function, and this will be bumped over to the stable branch in a few days.

1 Like