HomeFreeBSD

Improve robustness of owner/mode settings.

Description

Improve robustness of owner/mode settings.

  • Run fcgiwrap under target credential and only change ownership if the credential do not match the current socket_owner/group setting.
  • Use umask instead of chmod.
  • Use nobody/nogroup for default credentials instead of root.

Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D12726

Details

Provenance
delphijAuthored on
Reviewer
mat
Differential Revision
D12726: Improve robustness of owner/mode settings.
Parents
rP453156: Workaround an issue with kqueue support.
Branches
Unknown
Tags
Unknown