*BSD News Article 69280


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!news.cps.udayton.edu!news.conterra.com!imci2!imci3!newsfeed.internetmci.com!in1.uu.net!newshost.elvis.ru!newsmaster
From: bob <bob@terem.ru>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: mail problem
Date: Fri, 24 May 1996 14:59:03 +0400
Organization: Terem, Inc.
Lines: 19
Message-ID: <31A59677.1A48@terem.ru>
Reply-To: bob@terem.ru
NNTP-Posting-Host: fox.terem.ru
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b2 (Macintosh; I; 68K)

I have one problem. After some manipulation with chmod -R ... I cannot send 
messages by mail and sendmail, unless I have root privileges.  And anyone cannot. 
When I send message, I get following:

bob:[14:49] /var/mail/ echo subj | mail -s Test bob

bob:[14:49] /var/mail/ : Permission denied

There are permissions of my directories and files:

drwxrwxrwt   3 bin   bin       512 May 24 14:19 /tmp/
drwxr-xr-x   2 bin     bin    2048 May 24 14:46 /var/mail/
-rw-------  1 bob  bob           0 May 24 14:47 /var/mail/bob


How can I solve my problem? 
Thanks.

Vladimir Krichko