This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: sftp removing writable bit


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]