Kledi Andoni enscribed thusly:
> Hi,
> downloaded a month ago Pine 4.03, and installed it... it runs ok, except
> this error message:
> Mailbox vulnerable - directory must have 1777 protection
> what is 1777 protection?
That's this:
drwxrwxrwt 2 root mail 1024 Sep 25 09:50 /var/spool/mail
Note the "t" in the last position. That's the "sticky" bit. It
means that the directory is readable/writable by anyone but only a files
owner may deleted it. So if you have a file like this:
-rw------- 1 mhw mail 39559837 Sep 25 09:47 /var/spool/mail/mhw
If the /var/spool/mail file is "drwxrwxrwx" (no "t") then Joe Smuck
user can come and delete the mhw mail file for you (just to annoy you I guess,
he still can't read the file) because he has write permission to the
directory. The sticky bit says that only the file owner (mhw in this case)
can delete that file. If you look, you should have the same permission
on /tmp as well. That way a user can create a file there and other users
can't delete it under him.
Side note... (for the curious) The reason it is referred to
as a "sticky bit" or "tacky bit" is from its use on executable files. It
means something different on executable files (just like the execute bit
is used to mean something different for directories). For an executable,
it causes the text or code segment to be saved or "stick around" in the
swap after execution is done. This allows the next run of the program
to start up faster since the stick code segment has already been preloaded...
> thanks
> Kledi
> /--------------------------------------------------------------------\
> | Kledi Andoni | Micro$oft | Linux - The choice of a GNU generation |
> | linux.org.al | just say | For more info check this site: |
> | SysAdm,NetAdm | NO! | http://www.linux.org or www.linux.org.al|
> \--------------------------------------------------------------------/
Mike
--
Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
(The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!