*BSD News Article 81897


Return to BSD News archive

#! rnews 1474 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!spring.edu.tw!serv.hinet.net!netnews.hinet.net!news
From: vcba79@ms1.hinet.net (Vincent Chen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: What permissions for popper and directory?
Date: Tue, 29 Oct 1996 18:14:17 GMT
Organization: Vincent Research
Lines: 35
Message-ID: <3276363d.7562312@netnews.hinet.net>
References: <326f93aa.0@news.fast.net.uk> <54pur3$897@uriah.heep.sax.de>
NNTP-Posting-Host: 168.95.101.76
X-Newsreader: Forte Free Agent 1.1/32.230


>> What permissions must /usr/local/libexec/popper and /var/mail have for 
>> popper to write its temporary files in /var/mail when called from inetd?
>
>Nothing special, popper runs under root UID.  AFAIK, it takes care
>for changing the UID later.
>
>> Should /var/mail really be chmod 777?
>
>Never.  Not even 1777.  This has been beaten to death, _don't_ muck
>with the permissions of /var/mail.
>

I had different experience. Here is my current configuration:

-rwx------  1 bin  bin   45056 Sep  1 19:03 popper

drwxrwxr-x  2 root    wheel   512 Oct 29 02:22 mail

popper will work under this configuration. But if the /var/mail is not group
writable,pop user will receive messages 'can't create temporary file'. So,
I only know it works but don't know whether this configuration corret or not.



-----

Vincent Chen

E-mail address:
vcba79@ms1.hinet.net

Taipei,Taiwan
R.O.C.