delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/16:31:53

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
Date: Thu, 3 Apr 2003 23:31:39 +0200
From: Duncan Rubinger <duncan AT semanticedge DOT de>
Reply-To: Duncan Rubinger <duncan AT semanticedge DOT de>
Organization: SemanticEdge Berlin
X-Priority: 3 (Normal)
Message-ID: <929368981.20030403233139@semanticedge.de>
To: cygwin AT cygwin DOT com
Subject: Re: Problem: SCP and umask ?!
In-Reply-To: <Pine.GSO.4.44.0304031434410.21921-100000@slinky.cs.nyu.edu>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304031434410 DOT 21921-100000 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Virus-Scanned: by AMaViS perl-11

Hi,

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


IP> Two questions:
IP> 1) are you sure your "profile" is executed on scp?
IP> 2) why would Cygwin's umask affect Windows programs?  or am I missing
IP> something?
IP>         Igor

Yes, I'm sure, 'cause before it was on 644, after my change 000 really
works while I'm using the bash by commandline.
The curious thing is, that only for copied files on any scp
application (independent from the OS, Linux, Windows, etc.) app. the
files gets the above permissions :-(

Best regards, 

Duncan

The Lord of the token ring ...
"One Ring to link them all, One Ring to ping them,
one Ring to bring them all and in the darkness sniff them."


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