Socket Permissions Configuration #542
Labels
s: Daemon
This issue touches pueue daemon
s: Pueue-lib
This issue touches the pueue-lib library
t: Feature
A new feature that needs implementation
A detailed description of the feature you would like to see added.
I would like the ability to configure the socket permissions. For example:
Not sure whether the permissions should be in standard octal notation, the more verbose
rwxr-xr-x
or even as a further dictionary:Explain your usecase of the requested feature
I have a shared
pueued
instance running as a systemd service (happy to share the configuration) which I would ideally like to reach over sockets.The
pueued
daemon by default creates the socket with permissionsrwxr-xr-x
thereby preventing anyone from writing to the socket other than the service user.I would like to spawn this process under a special
pueue:pueue
user and group, and grant users of thepueue
group the ability to write to the socket. This would require setting the socket's permissions torwxrwxr-x
.Alternatives
The current alternative is to manually change the socket permissions after the process is spawned:
This will work so long as the process keeps running, but will of course fail after the process has restarted.
Additional context
No response
The text was updated successfully, but these errors were encountered: