Page MenuHomeFreeBSD

Improve robustness of owner/mode settings.
ClosedPublic

Authored by delphij on Oct 19 2017, 8:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 11, 11:11 PM
Unknown Object (File)
Thu, Nov 6, 8:41 PM
Unknown Object (File)
Sun, Oct 26, 9:02 AM
Unknown Object (File)
Sat, Oct 25, 11:53 PM
Unknown Object (File)
Sun, Oct 19, 11:51 PM
Unknown Object (File)
Oct 9 2025, 8:23 AM
Unknown Object (File)
Oct 5 2025, 3:16 AM
Unknown Object (File)
Oct 3 2025, 10:19 AM
Subscribers
None

Details

Summary
  • 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.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 12120
Build 12421: arc lint + arc unit

Event Timeline

Looks ok to me, might want to explain a bit the umask thing, took me a few minutes to see what you were doing.

This revision is now accepted and ready to land.Oct 26 2017, 2:49 PM
This revision was automatically updated to reflect the committed changes.