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

enhancement for the /usr/bin/old command #125

Open
thsnielsen opened this issue Mar 29, 2023 · 0 comments
Open

enhancement for the /usr/bin/old command #125

thsnielsen opened this issue Mar 29, 2023 · 0 comments

Comments

@thsnielsen
Copy link

hello - following some weird experiences using the old command, i would like to suggest an enhancement to the "/usr/bin/old" found in the aaa_base package.
the command makes its magic, but most often we need it to take an old file of a config file before editing it, and the old command does not copy the target file, but renames it, and then the admin makes a copy back to the original file to edit it, and often the ownership gets lost in the game, and the associated program cannot read its config file anymore - and it could take us "a while" to discover it is the ownership of the config file, that has thrown everything off track.
That's why i would like to suggest that the /usr/bin/old command (maybe via an option -c ) command copies the target file instead, still adds the date and time, and leaves the original file in place.

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

No branches or pull requests

1 participant