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

Re: should /var/spool/mail/ have a the sticky bit set? ...-extra notes




On Fri, 30 Mar 2001, Richard A Nelson wrote:

> On Fri, 30 Mar 2001, Walter Tautz wrote:
> 
> > open("/var/spool/mail/<myhostname>.cf86b", O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_SYNC, 0) = -1 EACCES
> > (Permission denied)
> > setgid(1000)                            = 0
> > rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> > write(2, "Unable to lock mailbox: Permissi"..., 42Unable to lock mailbox: Permission denied
> >
> > ls -l /var/spool/mail
> > drwxrwsr-x    2 root     mail         4096 Mar 30 11:13 ./
> 
I should point out this occurs because I have root mail sent to myself. The mail
is coming from the cron process so perhaps it is locking things but not releasing it
once it has delivered mail?




Reply to: