delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: sftp removing writable bit |
Date: | Thu, 13 Sep 2007 08:53:25 -0700 |
Lines: | 41 |
Message-ID: | <fcbmdp$f0s$1@sea.gmane.org> |
References: | <46E7FB17 DOT 3030904 AT scranton DOT edu> <fc91pf$bic$1 AT sea DOT gmane DOT org> <fc953v$nf5$1 AT sea DOT gmane DOT org> <fcaj21$n7t$1 AT sea DOT gmane DOT org> <fcaoj2$44l$1 AT sea DOT gmane DOT org> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.6 (Windows/20070728) |
In-Reply-To: | <fcaoj2$44l$1@sea.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thorsten Kampe wrote: > * Andrew DeFaria (Wed, 12 Sep 2007 22:49:49 -0700) >> Thorsten Kampe wrote: >>> * Andrew DeFaria (Wed, 12 Sep 2007 08:48:58 -0700) >>>> John J. Culkin wrote: >>>>> I am seeing an issue with Cygwin's sftp. It seems that after I upload >>>>> a file that overwrites an existing file, the writable bit is removed. >>>>> This prevents me from uploading a new version of the file. >>>>> >>>>> The files are owned by the SFTP user. >>>>> >>>>> Any Ideas? >>>> No ideas but a question. What is sftp good for? I mean what does it >>>> have >>>> over say... scp? >>> You can use your favourite FTP client, right?! >> As opposed to just typing scp? I still don't get it... > > Yes. Some clients (by coincidence my favourite ones) like yafc, lftp > and SpeedCommander do sftp. Lftp even does fish (which I think is > "pure" scp/ssh). I guess I'm saying is that if yafc, lftp and SpeedCommander can do sftp then scp will also work (no?). Conceptually I would think "copy this file" and relate that to a "cp" of sorts before an "ftp" of sorts. I use ncftp, when ftp is the only way, which doesn't do sftp (I think). Although ncftp can use ftp to copy a file or set of files in one command many ftp clients can't (perhaps yafc, lftp and SpeedCommander can do this - I don't know). What are the chances that those other sftp type clients are available on say the Solaris or Linux clients/servers of a client I'm working for? Much less than the possibility of scp being present. And I'm not necessarily against the idea of "well go out and get a working copy of these programs" but often clients do not give consultants that privilege. To each his own - we all have our own reasons for our picks of favorites (even if sometimes the reasons are not very well thought out). -- Andrew DeFaria <http://defaria.com> Future historians will be able to study at the Gerald Ford Library; the Jimmy Carter Library; the Ronald Reagan Library and the Bill Clinton Adult Bookstore. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |