Devdas Bhagat wrote:
On 15/01/05 00:22 +0530, Sujeet Bhatt wrote:
Guys,
I accidentally issued the command:
chmod 01777 /
One of the consequences seeems to be that my /var/spool/mail directory is zero bytes - I am unable to send a test mail to myself. The ouput of mailq is:
[root@localhost mail]# mailq /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory /etc/mail/sendmail.cf: line 588: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
What are the other consequences and how do I reverse this?
chmod 755 / Consequences, you have a writable /
Devdas Bhagat
Thanks, chmod 755 did it. When I did the chmod 01777 /, I was trying to respond o the following error message in Thunderbird: Unable to create lock file /var/spool/mail/sujeet.lock. For movemail to work, it is necessary to create lock files in the mail spool directory. On many systems, this is best accomplished by making the mail spool directory be mode 01777. The attempt was to get my /var/spool/mail/sujeet into Thunderbird via Movemail. Hasn't succeeded yet, although I can see the same quite clearly via kmail. Any suggestions? -- When in doubt, tell the truth. -- Mark Twain * TagZilla 0.057 * [1]http://tagzilla.mozdev.org
References