Page MenuHomeFreeBSD

Improve robustness of owner/mode settings.
ClosedPublic

Authored by delphij on Oct 19 2017, 8:14 AM.
Tags
None
Referenced Files
F89363026: D12726.diff
Sat, Jul 27, 1:44 AM
Unknown Object (File)
Jun 26 2024, 12:59 AM
Unknown Object (File)
Jun 24 2024, 8:49 AM
Unknown Object (File)
Jun 19 2024, 2:30 PM
Unknown Object (File)
Jun 16 2024, 10:05 AM
Unknown Object (File)
Jun 3 2024, 2:17 PM
Unknown Object (File)
May 23 2024, 4:40 PM
Unknown Object (File)
May 18 2024, 3:42 PM
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.