Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <20021129134919 DOT C1398 AT cygbert DOT vinschen DOT de> <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 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: Lines: 41 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-msvc-nt5.1.2600) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 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 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/