X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.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.3030904@scranton.edu> <fc91pf$bic$1@sea.gmane.org> <fc953v$nf5$1@sea.gmane.org> <fcaj21$n7t$1@sea.gmane.org> <fcaoj2$44l$1@sea.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

