Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sane default file permissions #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

klemensn
Copy link
Contributor

@klemensn klemensn commented Jun 5, 2023

doas.conf(5) is not an executable format, so a+x makes no sense.
It contains privileged commands/information by design, so o+r is questionable.

Use u=rw,g=,o= to match OpenBSD's /etc/examples/doas.conf suggestion.

@trefzer
Copy link
Contributor

trefzer commented Jun 6, 2023

spec tests are failing, change spec/classes/doas_spec.rb line 14
(and rebase, so I can check if tests are running on github !)

doas.conf(5) is not an executable format, so `a+x` makes no sense.
It contains privileged commands/information by design, so `o+r` is questionable.

Use `u=rw,g=,o=` to match OpenBSD's /etc/examples/doas.conf suggestion.
@klemensn
Copy link
Contributor Author

klemensn commented Jun 6, 2023

spec tests are failing, change spec/classes/doas_spec.rb line 14 (and rebase, so I can check if tests are running on github !)

Thanks for reminder.
I also updated the reference docs, that should be all.

@trefzer
Copy link
Contributor

trefzer commented Jun 6, 2023

great will merge. REFERENCE.md is generated so we can do that upon release.

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.

None yet

2 participants