delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/09/13/12:04:53

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <46E7FB17 DOT 3030904 AT scranton DOT edu>
Subject: RE: sftp removing writable bit
Date: Thu, 13 Sep 2007 17:04:29 +0100
Message-ID: <016601c7f61f$c3d6ecd0$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <46E7FB17.3030904@scranton.edu>
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

On 12 September 2007 15:44, John J. Culkin wrote:

> Hello
> 
> 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?

  <puts fingers to temples, strikes a stage mind-reader pose>

  Is it because you made a wrapper script on the server that sets the umask to
002 before starting the sftp server, by any chance?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019