[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2408: Pine does not correctly lock mailboxes

Rob Leslie writes ("Bug#2408: Pine does not correctly lock mailboxes"):
> > 10314 uname({sys="Linux", node="sfere", ...}) = 0
> > 10314 open("/var/spool/mail/richard.lock.825271063.10314.sfere", O_WRONLY|O_CREAT|O_EXCL, 0666) = -1 EACCES (Permission denied)
> > 10314 stat("/var/spool/mail/richard.lock.825271063.10314.sfere", 0xbfffe718) = -1 ENOENT (No such file or directory)
> Seems very strange also the filename used here. Is the lock file not supposed
> to be named simply "richard.lock"?

It's probably going to use `link' to put it in the right place.  This
has some beneficial effects when using an NFS-mounted mail spool
(NEVER DO THIS, though).


Reply to: