Skip to content

FIX: Use realpath to determine hard link source #1388

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

Merged
merged 4 commits into from
Mar 5, 2016

Conversation

effigies
Copy link
Member

@effigies effigies commented Mar 3, 2016

Fixes bug introduced in #1161.

Attempting to link to a symlink results in DataSink pushing symlinks to the nipype working directory out onto the filesystem at large. Can reproduce by connecting a Rename node to a DataSink node.

Test verifies the behavior of copying and linking from a symlink, fails prior to fix. Final patch passes optional copyfiles arguments to secondary calls. That seems like the least surprising behavior.

satra added a commit that referenced this pull request Mar 5, 2016
FIX: Use realpath to determine hard link source
@satra satra merged commit d1211be into nipy:master Mar 5, 2016
@effigies effigies deleted the link_chain branch March 6, 2016 02:24
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

Successfully merging this pull request may close these issues.

2 participants