-
Notifications
You must be signed in to change notification settings - Fork 108
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
CUMULUS-1748: support relative paths in recursion.js #1485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly comments/questions but a few requested changes
@@ -45,10 +45,11 @@ while ! $docker_command 'curl --connect-timeout 5 -sS -o /dev/null http://127.0 | |||
done | |||
echo 'HTTP service is available' | |||
|
|||
$docker_command "mkdir /keys;cp $UNIT_TEST_BUILD_DIR/packages/test-data/keys/ssh_client_rsa_key /keys/; chmod -R 400 /keys" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the idea behind making it a root directory (/keys
) instead of in the test-data
directory to avoid it being crawled by the FTP discovery tests and having issues due to directory permissions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is both that and the fact that SFTP requires the key permissions to be 400
.
Changing the way we react to running into a directory we can't access seemed out of scope for this PR but would be required for everything not to bomb out on encountering a directory that does not allow reads.
This reverts commit 922ddd4.
Summary: Summary of changes
Addresses CUMULUS-1748: relative paths in recursion
Changes
PR Checklist