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

File Provider: support symbolic link operations #71204

Open
bpasero opened this issue Mar 26, 2019 · 1 comment
Open

File Provider: support symbolic link operations #71204

bpasero opened this issue Mar 26, 2019 · 1 comment
Assignees
Labels
api feature-request Request for new features or functionality file-io File I/O remote Remote system operations issues
Milestone

Comments

@bpasero
Copy link
Member

bpasero commented Mar 26, 2019

With the new file service we can support move/copy across file system providers for files and folders. However, if one of the items is a symbolic link, there is currently no way to re-create such a link on the target provider.

In node.js terms there is a method called symlink.

I think conceptually we would need new API such as link(source, target) and then providers have to deal with the quirks.

On top of that we also need a way to resolve the target of the link, otherwise we cannot make a decision how to restore it.

Bottom line: I think it only makes sense to preserve symlinks if they are self contained in the data that is being moved/copied, not when pointing outside.

@bpasero bpasero added the debt Code quality issues label Mar 26, 2019
@bpasero bpasero added the remote Remote system operations issues label Mar 26, 2019
@jrieken jrieken added api file-io File I/O labels Mar 26, 2019
@jrieken jrieken added feature-request Request for new features or functionality and removed debt Code quality issues labels Jun 3, 2019
@jrieken jrieken changed the title File Provider: unable to preserve symbolic links via move/copy across providers File Provider: support symbolic link operations Nov 12, 2019
@jrieken jrieken added this to the Backlog milestone Jan 13, 2020
@irvnriir
Copy link

Always should be a way to copy/preserve all symlinks .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api feature-request Request for new features or functionality file-io File I/O remote Remote system operations issues
Projects
None yet
Development

No branches or pull requests

3 participants