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

vos does not follow external links #140

Open
andamian opened this issue Jun 3, 2020 · 0 comments
Open

vos does not follow external links #140

andamian opened this issue Jun 3, 2020 · 0 comments
Labels

Comments

@andamian
Copy link
Contributor

andamian commented Jun 3, 2020

Hi,

This actually does work but only if you provide -L flag. This -L is required as vcp is always recursive and in cp recursive copies require -L to follow links.

Assuming we want to make vcp better I see Two solutions appear possible.

A. We could make -r required for recursive copy and then vcp will follow links during a direct copy and require -L to follow links in a recursive copy. This would make vcp more like unix cp

B. We could make vcp copy a link if that is the file given on the command line, so that implies vcp is not recursive and thus -L is not needed.

We could also not require -L to follow links in any circumstance, but this would not be very kind behaviour and I don't think its a good idea.

A. would make vcp more compatible and easier for new users but change behaviour in a way that current users might not like.

B. would change behaviour but likely make the command more like what people want.

I've had to respond to a few people to explain that vcp is always recursive and would be OK with removing that as the default behaviour and changing the need for -L to be limited to when -r is present.

@andamian andamian added the BUG label Jun 3, 2020
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