|Starting Mail Transport Agent (MTA): sendmail/etc/mail/submit.cf: line 91:
|fileclass: cannot open '/etc/mail/local-host-names': World writable
|directory
Emmh ... excuse me?
What is "world-writable" about
-rw-r--r-- 1 root smmsp 72 3. Jun 2009 local-host-names
?
Ciao
Hans-Joachim
and what does 'ls -ld /etc/mail' give?
--
//Aho
> and what does 'ls -ld /etc/mail' give?
drwxr-sr-x 7 smmta smmsp 4096 5. Jan 20:31 /etc/mail
Ciao
Hans-Joachim
ehmmm, and what about /etc, then /
The check goes up to the root, since if any of those are compromised,
someone could replace everything from there down.
> Emmh ... excuse me?
>
> What is "world-writable" about
> -rw-r--r-- 1 root smmsp 72 3. Jun 2009 local-host-names
and "/etc/mail/"?
The message says DIRECTORY, not file.
>>> and what does 'ls -ld /etc/mail' give?
>>
>> drwxr-sr-x 7 smmta smmsp 4096 5. Jan 20:31 /etc/mail
> ehmmm, and what about /etc, then /
I had checked /etc, but forgot about /, which was the culprit.
I received annoying mail from Mr./Mrs. smartd about some error count on
the harddrive containing the OS, which I keep separate from /home. I had
set aside a partition with a safety copy of the OS, which I now hurried
into operation.
Apparently, I must have made an error while creating that safety copy
many months ago. All other permissions but those of / seem to be okay.
Thanks
Hans-Joachim
--
Stop whining, enjoy winterwonderland!
http://img717.imageshack.us/img717/6122/dsc08074.jpg
> I had checked /etc, but forgot about /, which was the culprit.
My very first diagnostic when receiving a complaint from Sendmail
about /some/path/to/file is to run:
ls -ld /some/path/to/file /some/path/to /some/path /some /
It's a reflex now. :)
Regards,
David.
> ?
"reading counts." <grin>
Did it say "world-readable _file_", as you've shown, or something else?
what does 'ls -l / /etc /etc/mail' show?
Actually, his error said "World writable directory" (it's still shown above).
As it turned out, his "/" directory was world writable, which he reported
in another post on this thread.