Mailing List Archive

Support open source code!


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

Re: Mailbox locking



>>>>> "DC" == Darren Cook <darrenj@example.com> writes:

    DC> When I type "mail", then "q", I always get
    DC>  "Unable to lock mailbox: Permission denied"

    DC> This has been going on for a month or so (probably since a
    DC> Debian-auto-upgrade). It used to append mail to mbox in my
    DC> home dir. If I do it as root it works (but puts the mail in
    DC> /root/mbox !!)

    DC> Here is my home directory:
    DC> drwxr-s---   15 darren   darren       4096 Apr 13 16:30 .

    DC> And here are the files in /var/spool/mail:
    DC> -rw-rw----    1 darren   mail        24957 Apr 20 08:01 darren
    DC> drwxrwsr-x    2 root     mail         4096 Apr 20 08:01 .

    DC> Permissions seem correct. Where else should I be looking for
    DC> the cause?

Can anyone shed some light on s (=sgid+x) and S (=sgid-x) things? I
think S should be set on a file for exclusive locking. What does s
mean for a directory? Is it "when you go to that directory your egid
becomes the gid of the owner"???

Sorry, more confusion...

Viktor


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links