session-pysogs
session-pysogs copied to clipboard
Read-only operations with sogs should not require superuser privileges.
$ sogs -L
This script must run as root (e.g. via sudo)
Why?
It doesn't exactly run as root, but rather as the _loki
user it installs during installation (which owns the files, including the database, etc.). It needs root to be able to change users. (Alternatively it lets you run it as non-root if you change to the _loki user yourself first, but that's a bit obscure).
The wrapper script itself is pretty simple: https://github.com/oxen-io/session-pysogs/blob/debian/sid/debian/sogs