]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
Remove permission checks on local files and remove `safcm fixperms`
authorSimon Ruderich <simon@ruderich.org>
Sun, 19 Oct 2025 07:19:01 +0000 (09:19 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 19 Oct 2025 07:19:01 +0000 (09:19 +0200)
commit17667dca712f61e07c0ec31ad88be2d6b4806b32
tree6c755ffc0b54e64307a0e363a31be0f549f33cb0
parentbd13f4727b857958572845b359f9d3a038376bdc
Remove permission checks on local files and remove `safcm fixperms`

The intended use case was to "protect" users against unexpected behavior
when migrating from a legacy system configuration management. This no
longer applies.

In addition, needing to run fixperms is generally annoying and makes the
tests more complex and fragile.

`safcm fixperms` is kept as command not to break existing workflows. It
has no effect now.
Makefile
cmd/safcm/config/files.go
cmd/safcm/config/files_test.go
cmd/safcm/fixperms.go [deleted file]
cmd/safcm/main.go
cmd/safcm/sync_sync_test.go