Ticket #88 (closed enhancement: fixed)
Add an option to allow {world,group}-readable configuration files
| Reported by: | matthijs | Owned by: | victor |
|---|---|---|---|
| Priority: | minor | Milestone: | undecided |
| Component: | libvuurmuur | Version: | |
| Keywords: | Cc: |
Description
Currently, vuurmuur insists on its config files not having the group-read and other-read permission bits set (among a few other checks, such as not being writable by others and being owned by root). These checks make sense in general, but for my particular installation I need the files to be readable by world. Currently, vuurmuur resets the permissions of the files when it finds anything out of order.
After a small discussion on IRC it seems feasible to implement an option to prevent the permission changes for files that are readable for group or other. I would propose adding an option "ALLOW_READABLE_CONFIG" to config.conf, which would default to "No".
I'm currently looking at the code and plan to submit a patch, probably preceded by some cleanup work in separate patches.
