mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
"Commite3f7fe4added file owner validation to prevent Scylla from crashing when it tries to touch a file it doesn't own. However, under docker, we cannot expect to pass this check since user IDs are from different namespaces: the process runs in a container namespace, but the data files usually come from a mounted volume, and so their uids are from the host namespace. So we need to relax the check. We do this by revertingb1226fb, which causes Scylla to run as euid 0 in docker, and by special-casing euid 0 in the ownership verification step. Fixes #4823." * 'docker-euid-0' of git://github.com/avikivity/scylla: main: relax file ownership checks if running under euid 0 Revert "dist/docker/redhat: change user of scylla services to 'scylla'" (cherry picked from commit595434a554)