Answer the question
In order to leave comments, you need to log in
And yet, how to properly distribute group rights between www-data and me-as-user?
Hello.
Usually I do it simply - I start Apache2 on behalf of my user (instead of www-data) and the issue with rights and groups does not arise in principle.
But now I had to separate it, and problems began to arise, because I run Composer as a user, and php flarum (in this case, we are talking about the Flarum engine - this is essentially Laravel) is launched on behalf of www-data.
And it turns out that some of the files in the project folder and incl. public is created from, say, me-user, and part belongs to www-data, and there were already problems with the script.
How to solve it completely?
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question