delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/25/17:00:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <d2f92e8b050225135336e3cab6@mail.gmail.com>
Date: Fri, 25 Feb 2005 15:53:11 -0600
From: Dori <slowpoke AT gmail DOT com>
Reply-To: Dori <slowpoke AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Controlling permissions of scp files on Windows
Mime-Version: 1.0
X-IsSubscribed: yes

Hello, 
I am having a tough time figuring out how to automatically change the
permissions of files that are scp-ed over to a Windows 2003 Server
machine that's running Cygwin sshd. The files come out with
permissions of 644, and I need them to be 666. Is there a way to do
this without having to run a chmod on the files afterwards (even 664
if I can figure out how to have "everyone" be the group).

I had this problem with http://sshwindows.sourceforge.net as well.
I've tried the commercial WinSSHD which does not have the permission
problem, but won't allow too many simultaneous connections, and I'd
rather not use a closed source solution.

Thank you in advance for your help

Dori

P.S. I have tried searching the archives and looking at the FAQ, and I
did not find anything. If I missed I apologize in advance, and I'd
appreciate a pointer as to where the answer is.

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