aboutsummarylogtreecommitdiffstats
path: root/doasedit
AgeCommit message (Collapse)Author
2021-12-21Fix typomagnus
2021-12-21Put [[ -d dirname ]] after [[ -r dirname ]] since the latter does not ↵magnus
guarantee that 'dirname' is actually not a regular file
2021-12-21[[ -d dir ]] && [[ -r dir ]] is redundant, thanks to burrhole on gitlabmagnus
2021-12-21Fix order of rare edge case where file cannot be readmagnus
2021-12-20Prevent bad behavior when multiple instances of doasedit are invokedmagnus
2021-12-19Explicitely declare some variables that 'set -eu' now prints warnings formagnus
2021-12-18Do not hardcode doas to /sbin : I assumed this would be the case everywhere ↵magnus
but it is not
2021-12-18Make doasedit able to edit regular files again by fixing order of operations ↵magnus
in bash
2021-12-18Get ready to change doasediting's location since it is a necessary change on ↵magnus
multiuser systems
2021-12-18Make doasedit know what /etc/doas.conf is and test that it still works after ↵magnus
editing the file
2021-12-18SSet safe shell options and don't have a second argument to ERR since it is ↵magnus
essentially unused and unmaintained
2021-12-18Do not echo `doas -C`'s outputmagnus
2021-12-18Less hacky way to check permissions, that should work with 'permit nopass'magnus
2021-12-15Fix a stupid mistake I'm not sure how I mademagnus
2021-11-22Add an error message when you edit files owned by another user that you ↵magnus
cannot read
2021-09-13Added better usage message and a slightly less hacky way to change ↵magnus
permissions on new scripts you are writing
2021-09-01Added usage and a way to change permissions directly from the script ↵magnus
(because I am lazy)
2021-08-31Allow creation of nonexistent files, verify that permissions are properly ↵magnus
preserved, simplify control flow, add comments
2021-08-31Don't cp if file is not modifiedmagnus
2021-08-31Initial commitmagnus