frp icon indicating copy to clipboard operation
frp copied to clipboard

Check for root user in entrypoint

Open Cilenco opened this issue 2 weeks ago • 0 comments

Currently the container image is assuming that the container is started as root user. Running the image with the --user uid:gid option crashes the container with the message:

su-exec: setgroups(0): Operation not permitted

The entrypoint should check if the current user is root (e.g. [ $(id -u) = 0 ]) and only run su-exec if necessary.

Cilenco avatar Dec 18 '25 11:12 Cilenco