So I don’t want other users on my system to be able to edit files in the /protected folder, a controller file for example, but I also obviously need the system to be able to access those files. I really want the ‘admins’ group to be able to edit files, but at the same time I have to make certain files writable for anyone or I get this error:
Application runtime path "/var/priv/protected/runtime" is not valid. Please make sure it is a directory writable by the Web server process.
I think I’m missing something very obvious, but how can I restrict any old user from editing files while still allowing Yii to do its thing? Thanks.
Didn’t work. How would Yii be part of the correct group? Unless when I create the application it uses the primary group of the creator…or something…but I created a new group called admins that I want to be the group that is allowed to edit files.