Return to BSD News archive
#! rnews 1930 bsd Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!feed1.news.erols.com!news From: Ken Bigelow <kbigelow@www.play-hookey.com> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: What permissions for popper and directory? Date: Tue, 29 Oct 1996 20:39:01 +0000 Organization: Erol's Internet Services Lines: 34 Message-ID: <32766B65.DAF@www.play-hookey.com> References: <326f93aa.0@news.fast.net.uk> <54pur3$897@uriah.heep.sax.de> <3276363d.7562312@netnews.hinet.net> Reply-To: kbigelow@www.play-hookey.com NNTP-Posting-Host: kenjb05.play-hookey.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win16; U) Vincent Chen wrote: > > >> 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. > Hmmm. My /var/mail directory has 755 permissions set (2.1R), and popper has no trouble. I'm actually using qpop from packages-current, and it works fine. -- Ken Are you interested in | byte-sized education | http://www.play-hookey.com over the Internet? |