delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/14:36:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 3 Apr 2003 14:36:00 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Duncan Rubinger <duncan AT semanticedge DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem: SCP and umask ?!
In-Reply-To: <412024741.20030403212915@semanticedge.de>
Message-ID: <Pine.GSO.4.44.0304031434410.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Thu, 3 Apr 2003, Duncan Rubinger wrote:

> Hi all,
>
> I'm slightly new to this list and would like to say hello at first.
>
> Unfortunately I've a question too. I'm using WINSCP2 or scp to copy my files
> on my Bitvise WinSSHD using cygwin bash for the environment. When I log
> in to my account normally, everything is OK ...
>
> I've changed th umask in the profile file to 000 for private reasons
> and this works fine directly under bash!
>
> But if I copy some files using any scp application, the files will be
> created with 644 as umask! Each file gets rw-r--r-- ! Don't know why
> ...
>
> Any suggestions ? This would be very helpful concerning this
> frustrating issue.
> Best regards,
> Duncan

Two questions:
1) are you sure your "profile" is executed on scp?
2) why would Cygwin's umask affect Windows programs?  or am I missing
something?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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