Bug 1059 - scp should have an option to ignore symlinks
Summary: scp should have an option to ignore symlinks
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: -current
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL: http://krunch.servebeer.com/~krunch/v...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-01 03:19 AEST by Adrien Kunysz
Modified: 2021-04-23 15:08 AEST (History)
2 users (show)

See Also:


Attachments
patch to implement the -s flag (3.31 KB, patch)
2005-07-01 03:20 AEST, Adrien Kunysz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Kunysz 2005-07-01 03:19:31 AEST
I think scp should have an option to ignore symlinks so it won't go into an
endless loop when copying circular links. I wrote a patch and I'll attach it
once the bug is created. This issue has already been discussed before and it was
made clear no modification should be done on the protocol but this option only
check if a file is a link and doesn't send it if it is one. Which means the
protocol remains unchanged.
Comment 1 Adrien Kunysz 2005-07-01 03:20:57 AEST
Created attachment 933 [details]
patch to implement the -s flag
Comment 2 Damien Miller 2006-07-12 11:21:34 AEST
Sorry, but adding a commandline option that is executed on the remote system *is* changing the protocol. 
Comment 3 Darren Tucker 2006-10-07 11:41:04 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.
Comment 4 Juan Ramos Garcia 2011-08-03 04:13:17 AEST
So, does that mean that no scp2 protocol is going to be created and scp is deprecated in favor of more modern protocols like SFTP?
Comment 5 Damien Miller 2018-06-01 14:43:56 AEST
scp is closed for feature additions; we'll still accept them for sftp though.
Comment 6 Damien Miller 2021-04-23 15:08:20 AEST
closing resolved bugs as of 8.6p1 release