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

Using -n for same-host SSH operations is not POSIX compliant #69

Open
bluekeyes opened this issue Feb 8, 2019 · 0 comments
Open

Using -n for same-host SSH operations is not POSIX compliant #69

bluekeyes opened this issue Feb 8, 2019 · 0 comments
Labels

Comments

@bluekeyes
Copy link
Member

The -n flag (to prevent overwriting existing files) is not part of the POSIX specification for the cp or mv commands. Giraffe guarantees that it will work with any POSIX-compliant shell, so this is a violation of the contract. That said, I'm not sure how to fix this and it hasn't caused problems for any real users yet. I just ran into while updating the CI tests to an Alpine container.

@bluekeyes bluekeyes added the bug label Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant