Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <3A1BAF09.570D240D@redhat.com> Date: Wed, 22 Nov 2000 12:33:29 +0100 From: Corinna Vinschen Reply-To: cygwin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cygwin Subject: Re: fetchmail References: <20001121224203.A22908@MageNet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Julia A . Case" wrote: > I downloaded the source to fetchmail and it compiled out of the box. But > when I went to run it, it complained that .fetchmailrc must have the > permissions of 0710... I tried chmod 0710 .fetchmailrc but that didn't > change the permissions, is there a way under win98 to change the > permissions? Unfortunately not. You will have to patch fetchmail to ignore permissions (the easy way) or to check if setting permissions is possible dependent of the OS, the file system and the CYGWIN setting (the hard way). I did this in OpenSSH, too. If you download the sources from latest/openssh on your favorite mirror, you will find a source file named `cygwin_util.c' which contains a function `check_ntsec' which manages exactly that check. The you'll have to incorporate that function into your fetchmail port and change the above permission check which is similar to if ((st.st_mode & 067) != 0) to something like #ifdef CYGWIN if (check_ntsec (filename)) #endif if ((st.st_mode & 067) != 0) Hope, that helps, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin@sources.redhat.com Red Hat, Inc. mailto:vinschen@redhat.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com