Skip to content

sops exec-file: make sure to set GID to correct value instead of UID#2154

Merged
felixfontein merged 1 commit intogetsops:mainfrom
felixfontein:exec-gid
Apr 21, 2026
Merged

sops exec-file: make sure to set GID to correct value instead of UID#2154
felixfontein merged 1 commit intogetsops:mainfrom
felixfontein:exec-gid

Conversation

@felixfontein
Copy link
Copy Markdown
Contributor

When using sops exec-file, currently the user's UID is used as the GID for the setgid and setregid syscalls. Use the user's GID instead.

Signed-off-by: Felix Fontein <felix@fontein.de>
@felixfontein felixfontein merged commit 05f1f98 into getsops:main Apr 21, 2026
15 checks passed
@felixfontein felixfontein deleted the exec-gid branch April 21, 2026 18:20
@felixfontein
Copy link
Copy Markdown
Contributor Author

@hiddeco thanks for reviewing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants