Rewalks, file protections, and cron jobs.

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Rewalks, file protections, and cron jobs.

Post by Thunderstone »



Hi,

Looking for help/confirmation with a couple of
questions:
(1) I already have a database and plan weekly
rewalks. I neglected to specify "unique"
on the last walk, however, and want to enable it.
In reading the paragraph about that switch, I'm
not sure if a rewalk command serves to create
an empty database and therefore avoid using
the existing normal counter? I think the
answer is yes, since rewalking creates a temporary
_db directory and then renames it to db.

(2) I notice that both on installation and with
rewalking, Webinator creates the files
../db/SYSLOCKS
../db/SYSLOCKS.SEQ
as world writable. These are the only files with
that access in the db directory. I've manually
turned off world-write and have checked to make sure
it is not just an inheritance problem peculiar to
my setup. But it seems to recur after a rewalk. Should
I check my own setup more thoroughly or is that indeed
the default protection?

(3) I'm trying to understand just how the rewalk schedule
works. That appears to just be a process that sits
there waiting to rewalk on the specified schedule.
To make sure rewalking occurs even after system
reboots, why wouldn't I need/want to trigger rewalks
with a cron job and specify the recurring interval
via cron rather than with the "every" spec on the
rewalk switch?

Jim Cerny, Computing & Information Services, Univ.NH
jim.cerny@unh.edu



Post Reply