czcorpus / kontext

An advanced, extensible web front-end for the Manatee-open corpus search engine
GNU General Public License v2.0
59 stars 22 forks source link

Consider running both web application server and calculation worker under the same system user #6209

Open tomachalek opened 1 month ago

tomachalek commented 1 month ago

The truth is that there is not much that one server can do that the other cannot. I.e. there is probably no need to distinguish between the two. It would probably be easier to use a single user (e.g. www-data in Ubuntu) and handle all the security intricacies with that single user. It would simplify both the KonText source code and the server administration.

And as a bonus, we would most likely avoid the rare (but long term) permission denied error between web and worker.