Subject: [Help?] pine lock not on FAQ

From: Chenyang Xu <[email-masked]>
Date: Sat, 23 Nov 1996 20:32:46 -0500

Hi, there,

    I had a problem with pine which gives me the following message when
running,

    "can't open mailbox lock, access is readonly".

    Now I can't delete mails from my mailbox. However I can still 
use the "mail" program to delete my incoming mail.

    I searched on the FAQ of the pine but can't locate the answer.

    Any suggestions? 

    Thanks,
    
-- 
Chenyang Xu

                              \\|//
                              (o o)
 --------------------------ooO-(_)-Ooo----------------------------------
   (o) 410-516-6819             |   Fax:410-516-5566
   [email-masked]             |   http://iacl.ece.jhu.edu/~chenyang      
         _________________________________________________________
        /          Image Analysis and Communication Lab          /
       /   Department of the  Electric and Computer Engineering /
      /         The Johns Hopkins University                   /  
     /             Baltimore, MD 21218                        /
 =======================================================================

---

From: Rudolf Kompf <[email-masked]>
Date: Mon, 25 Nov 1996 11:54:10 +0100 (MET)

On Sat, 23 Nov 1996, Chenyang Xu wrote:

-> Hi, there,
-> 
->     I had a problem with pine which gives me the following message when
-> running,
-> 
->     "can't open mailbox lock, access is readonly".
-> 
->     Now I can't delete mails from my mailbox. However I can still 
-> use the "mail" program to delete my incoming mail.
-> 
->     I searched on the FAQ of the pine but can't locate the answer.
-> 
->     Any suggestions? 
-> 
->     Thanks,
->     
-> -- 
-> Chenyang Xu
-> 
->                               \\|//
->                               (o o)
->  --------------------------ooO-(_)-Ooo----------------------------------
->    (o) 410-516-6819             |   Fax:410-516-5566
->    [email-masked]             |   http://iacl.ece.jhu.edu/~chenyang      
->          _________________________________________________________
->         /          Image Analysis and Communication Lab          /
->        /   Department of the  Electric and Computer Engineering /
->       /         The Johns Hopkins University                   /  
->      /             Baltimore, MD 21218                        /
->  =======================================================================
-> 
Probably you have to change the permission of the directory where INBOXes
are stored (system-dependent: e.g. directory /var/mail, permission= 1777,
user=root, group=mail)

Rudolf

-----------------------------------------------------------------------
Rudolf Kompf                     | E-mail: [email-masked]

---

From: Chenyang Xu <[email-masked]>
Date: Mon, 25 Nov 1996 10:27:33 -0500 (EST)

> are stored (system-dependent: e.g. directory /var/mail, permission= 1777,

Thanks a lot, Rudolf,

    I have solved the problem by chance. It's similar to what you 
expected. I found out the /tmp directory is no longer writable by the 
users, I changed it and it solve the problem.

    Best regards,

--- Chenyang

---

From: [email-masked] (Shoeless in San Jose )
Date: 26 Nov 1996 05:49:36 GMT

I get this when I shell out of Pine and start a new copy.  The new copy will
only run in 'Read-Only' mode.  Try quitting out of Pine and typing fg at the
prompt.   If that doesn't work, log out and try again.

Greg
[email-masked]

Chenyang Xu ([email-masked]) wrote:
: Hi, there,

:     I had a problem with pine which gives me the following message when
: running,

:     "can't open mailbox lock, access is readonly".

:     Now I can't delete mails from my mailbox. However I can still 
: use the "mail" program to delete my incoming mail.

:     I searched on the FAQ of the pine but can't locate the answer.

:     Any suggestions? 

:     Thanks,
:     
: -- 
: Chenyang Xu

:                               \\|//
:                               (o o)
:  --------------------------ooO-(_)-Ooo----------------------------------
:    (o) 410-516-6819             |   Fax:410-516-5566
:    [email-masked]             |   http://iacl.ece.jhu.edu/~chenyang      
:          _________________________________________________________
:         /          Image Analysis and Communication Lab          /
:        /   Department of the  Electric and Computer Engineering /
:       /         The Johns Hopkins University                   /  
:      /             Baltimore, MD 21218                        /
:  =======================================================================

---

From: Mark Crispin <[email-masked]>
Date: Mon, 25 Nov 1996 15:44:22 -0800

>     "can't open mailbox lock, access is readonly".

Two causes:
	1) /tmp does not not permit world write.
	2) there is a stuck lock file on /tmp.

The fix for (1) is to make sure that /tmp is protected 1777.

The fix for (2) is to delete all files on /tmp which have protection 000
and whose name begins with "."

-- Mark --	Read http://www.imap.org for the "best kept secret in email"

DoD #0105, R90/6 pilot, FAX: (206) 685-4045  ICBM: N 47 39'35" W 122 18'39"
Science does not emerge from voting, party politics, or public debate.