Closed cherryroots closed 3 months ago
One of the processes I run needs access to the "render" group for ffmpeg to use vaapi, but the spawned process doesn't include any of the supplementary groups of the user spawning the process.
https://github.com/joe-at-startupmedia/pmon3/blob/c89c7ae0de41baf94ae1d2e9b25d86abda8837f3/pmond/process/executor.go#L34-L37
https://pkg.go.dev/syscall#Credential -> Groups
@cherryroots does the commit referenced above resolve the issue?
Yeah that fixes it, thanks for the quick response
One of the processes I run needs access to the "render" group for ffmpeg to use vaapi, but the spawned process doesn't include any of the supplementary groups of the user spawning the process.
https://github.com/joe-at-startupmedia/pmon3/blob/c89c7ae0de41baf94ae1d2e9b25d86abda8837f3/pmond/process/executor.go#L34-L37
https://pkg.go.dev/syscall#Credential -> Groups