Werk #22162: omd: Keep permissions of /etc/fstab when removing a site
| Component | Site management | ||||
| Title | omd: Keep permissions of /etc/fstab when removing a site | ||||
| Date | Nov 2, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
omd rm and omd mv rewrite /etc/fstab through a temporary file to drop
the site's tmpfs entry. The new file took its permissions from the umask of
the omd process, so /etc/fstab could end up with a different mode than
before. The original mode of /etc/fstab is now kept.