Subject: Sug (ID 6F91O): lock file problem (fwd)

From: root <[email-masked]>
Date: Tue, 25 Nov 1997 18:02:05 -0800 (PST)

hi there i am hoping you can help...  I have just updated to Pine 3.96 on
a Redhat 4.2 system.  I am now having a problem with file locking for
users.  This error doesn't occur for root just normal users. the error is
Error creating
/var/spool/mail/USERNAME.lock.A-BUNCH-OF-NUMBERS.SOME-MORE-NUMBERS.kosmos.online.bc.ca.
could you please tell why this is happening...  I have check permissions
and everything seems to be normal.?

Any info would be greatly appreciated...
thanks,
Sean Clarke - Network Administrator - Online Communications

---

From: Richard Gering <[email-masked]>
Date: Wed, 26 Nov 1997 09:27:25 +0100 (WET)

On Tue, 25 Nov 1997, root wrote:

> hi there i am hoping you can help...  I have just updated to Pine 3.96
> on a Redhat 4.2 system.  I am now having a problem with file locking for
> users.  This error doesn't occur for root just normal users. the error
> is Error creating

Hi, "root".

You say that you've checked the permissions, but what did you compare them
with to verify that they were correct?. The Linux standard filesystem has
setup the permissions of the mail directory wrong, which Pine very much
dislikes ("wrong" could be a matter of opinion, but there are more reasons
in favor of changing it as there are against doing so).

Try a "chmod 1777 /var/spool/mail", try again and report what happens.

Good luck!

Regards,

- Richard Gering.

-- 
+-----------------------------------------------------------------------------+
| Richard Gering ([email-masked]) |         UNIX: when you're ready         |
| Computer Industries International |         for an operating system         |
+-----------------------------------------------------------------------------+