🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4124

Problem with tind and Vixie cron

#4124
From: Bowyer Jeff
Date: Tue, 11 May 1993 14:09
43 lines
2104 bytes
I have been using tind fine for about 2-3 months.  Yesterday, I changed
our system from the standard cron included with Ultrix 4.2 to Vixie cron.
It may be a coincidence, but that's when the problem began.

Here's the problem:

     Before tind runs, the permissions on the active file are 644

     After tind runs, the permissions on the active file are 640.  Thus,
     nobody can read network news.


Other factors:

     When we create a new file on our system, the default permissions are
     640.

     Vixie cron differs from Ultrix's standard cron in one significant
     way.  Whereas the standard cron runs all programs under /bin/sh,
     Vixie cron runs a program under the shell specified in /etc/passwd
     for the owner of the crontab file that contains that program
     statement.  Therefore, previously tind ran under /bin/sh, but now it
     runs under /bin/ksh, the shell associated with root, which owns the
     crontab that starts tind.  I tested calling tind from a shell
     program that first started /bin/sh (the shell program was started by
     Vixie cron), but the same permissions problem occurred.


Any ideas?

Thanks for your help.


Jeff

--
Please send your response via email.  Thanks.

 Jeff Bowyer                         EMail: jbowyer@cis.vutbr.cs
 Computing Center
 Technical University of Brno
 Czech Republic
Technical Details
Message-ID: <1993May11.140935.19502@cis.vutbr.cs>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!ira.uka.de!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!alijku11!aci.cvut.cs!cis.vutbr.cs!jbowyer

Show Full Headers
Complete Article Headers
Message-ID: <1993May11.140935.19502@cis.vutbr.cs>
Subject: Problem with tind and Vixie cron
Date: Tue, 11 May 1993 14:09:35 GMT
From: jbowyer@cis.vutbr.cs (Bowyer Jeff)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!ira.uka.de!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!alijku11!aci.cvut.cs!cis.vutbr.cs!jbowyer
Newsgroups: news.software.readers
X-Newsreader: TIN [version 1.1 PL8]
Reply-To: jbowyer@cis.vutbr.cs
Organization: Technical University of Brno, Czech Republic
Lines: 43