delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/02:36:55

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
To: cygwin AT cygwin DOT com
Subject: Re: umask (was:Re: gcc, Write and Modify permissions (ntsec))
References: <ufztedy8a DOT fsf_-_ AT yandex DOT ru>
<20021129134919 DOT C1398 AT cygbert DOT vinschen DOT de> <u65ugkhx2 DOT fsf AT yandex DOT ru>
<20021129134919 DOT C1398 AT cygbert DOT vinschen DOT de>
<5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20021204080816 DOT 00fe7230 AT pop3 DOT cris DOT com>
From: Roman Belenov <rbelenov AT yandex DOT ru>
Date: Thu, 05 Dec 2002 10:36:42 +0300
In-Reply-To: <5.2.0.9.2.20021204080816.00fe7230@pop3.cris.com> (Randall R
Schulz's message of "Wed, 04 Dec 2002 08:09:40 -0800")
Message-ID: <uwumodiid.fsf@yandex.ru>
Lines: 41
User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2
(i386-msvc-nt5.1.2600)
MIME-Version: 1.0

I usually use FAR manager (non-cygwin Norton Commander clone) (*) for
command-line work and run cygwin programs (like grep, gcc or make)
from it; modifying all programs or writings wrapper scripts for them
is not an option.

May be it makes sense to add umask option to CYGWIN environment
variable ? Probably there are other users with usage pattern similar
to mine.

(*) I know about Midnight Commander and use it on Linux, but FAR is
more usable on Windows.

Randall R Schulz <rrschulz AT cris DOT com> writes:

> At 08:00 2002-12-04, Randall R Schulz wrote:
>>Roman,
>>
>> Have them call umask(2). If that's not an option, invoke them via a
>> Cygwin shell script that changes the umask first--it's my child
>> processes just as environment variables are.
>
> I don't know what kind of editing snafu that was, but I meant:
>
>      "... It's inherited by child processes just as ..."
>
> RRS
>
>
>>Randall Schulz
>>Mountain View, CA USA
>>
>>
>>At 23:44 2002-12-03, Roman Belenov wrote:
>>>Corinna Vinschen <corinna-cygwin AT cygwin DOT com> writes:
>>>
>>> > umask
>>>
>>>How can I change umask of processes launched from Windows executables?

-- 
 							With regards, Roman.


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