delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/25/10:27:51

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, 25 Jul 2002 10:30:07 -0400
From: Jason Tishler <jason AT tishler DOT net>
Subject: Re: Mutt 1.4-1 opens mbox read-only
In-reply-to: <NCBBIHCHBLCMLBLOBONKIEKEDCAA.g.r.vansickle@worldnet.att.net>
To: cygwin AT cygwin DOT com
Mail-followup-to: cygwin AT cygwin DOT com
Message-id: <20020725143007.GA2092@tishler.net>
MIME-version: 1.0
User-Agent: Mutt/1.4i
References: <20020724123728 DOT GA1556 AT tishler DOT net>
<NCBBIHCHBLCMLBLOBONKIEKEDCAA DOT g DOT r DOT vansickle AT worldnet DOT att DOT net>

Gary,

On Wed, Jul 24, 2002 at 10:29:55PM -0500, Gary R. Van Sickle wrote:
> > While installing Cygwin exim yesterday, I *may* have stumbled onto your
> > problem.  After changing the permissions of /var/spool/mail to meet the
> > needs of exim, I started to get the read-only mbox problem myself.
> 
> What particular permissions were they?

Until I installed exim, /var/spool/mail was owned and writable by me:

    $ ls -dl /var/spool/mail
    drwxr-xr-t    2 jt       Domain U     4096 Jul 25 10:01 /var/spool/mail

After installing exim, I changed the ownership and permissions to:

    $ chown exim:mail /var/spool/mail
    $ ls -dl /var/spool/mail
    drwxrwxr-t    2 exim     mail         4096 Jul 25 10:01 /var/spool/mail

With the above permissions mutt could not dotlock files in
/var/spool/mail and opened my inbox read-only.

When I opened up permissions (i.e., added other writable):

    $ chmod o+w /var/spool/mail
    $ ls -dl /var/spool/mail
    drwxrwxrwt    2 exim     mail         4096 Jul 25 10:01 /var/spool/mail

mutt became  "happy" and opened my inbox read/write.

Jason

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