From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1602 invoked by alias); 24 Sep 2004 12:47:25 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1595 invoked from network); 24 Sep 2004 12:47:23 -0000 Received: from unknown (HELO mproxy.gmail.com) (64.233.170.197) by sourceware.org with SMTP; 24 Sep 2004 12:47:23 -0000 Received: by mproxy.gmail.com with SMTP id v18so3136670rnb for ; Fri, 24 Sep 2004 05:47:21 -0700 (PDT) Received: by 10.38.179.69 with SMTP id b69mr275286rnf; Fri, 24 Sep 2004 05:47:21 -0700 (PDT) Received: by 10.38.179.9 with HTTP; Fri, 24 Sep 2004 05:47:21 -0700 (PDT) Message-ID: <23bcb87004092405475f728ea1@mail.gmail.com> Date: Fri, 24 Sep 2004 13:37:00 -0000 From: Doctor Bill Reply-To: Doctor Bill To: Cygwin List Subject: Re: File permission problem In-Reply-To: <23bcb87004092405365a8d802f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <6334E09627481B4AA5C8DE1E69E19D3B013BA6EB@SSLEXCHANGE.solomonsystech.com> <6.1.0.6.0.20040923225120.03ee4aa8@pop.prospeed.net> <23bcb87004092405365a8d802f@mail.gmail.com> X-IsSubscribed: yes X-SW-Source: 2004-09/txt/msg01312.txt.bz2 I just verified the umask patch is still in place: $ (umask 000;ls -la /cygdrive/c/IO.SYS);(umask 077;ls -la /cygdrive/c/IO.SYS) -rwxr-xr-x 1 docbill None 222390 Apr 23 1999 /cygdrive/c/IO.SYS -rwx------ 1 docbill None 222390 Apr 23 1999 /cygdrive/c/IO.SYS So if your problem is that you are using Win9x, &/or FAT32 you are in luck. The remaining question is if this works for network mounts with Win9x.... Bill On Fri, 24 Sep 2004 08:36:31 -0400, Doctor Bill wrote: > I think about a year ago there was a patch added to the cygwin core to > allow you to use 'umask' to change apparent permissions on a FAT32 > partition. The idea was you could then do something like: > > umask 077; ssh foo.bar.com > > I do not know if this code is still in the cygwin libraries, and if it > will solve your problem. > > Bill > > > > > On Thu, 23 Sep 2004 22:52:21 -0400, Larry Hall > wrote: > > At 09:59 PM 9/23/2004, you wrote: > > >Dear all, > > > > > > I have try to generate a private key file so that I don't need > > >to enter password everytime I "ssh" to a remote machine. However, "ssh" > > >complaints me about the permission of key file. I don't know why "chmod" > > >always return 666 or 444 even I want to change the file to 600 or 400. > > > > > > Does anymore have idea? Thanks. > > > > > > Does this describe your situation? > > > > Why doesn't chmod work? > > > > > > -- > > Larry Hall http://www.rfk.com > > RFK Partners, Inc. (508) 893-9779 - RFK Office > > 838 Washington Street (508) 893-9889 - FAX > > Holliston, MA 01746 > > > > > > > > > > -- > > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > Problem reports: http://cygwin.com/problems.html > > Documentation: http://cygwin.com/docs.html > > FAQ: http://cygwin.com/faq/ > > > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/