Controlling permissions of scp files on Windows
Sun Feb 27 04:34:00 GMT 2005
On Fri, 25 Feb 2005 14:28:02 -0800, Brian Dessent <firstname.lastname@example.org> wrote:
> Dori wrote:
> > 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).
> If they are 644 at the source machine then just use -p flag to scp,
> which preserves times and modes.
Yep, that works...a bit insecure at the source server which has more
liberal access than the destination one though.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin