Batch/At (if it wasn't broken, no worries I broke it :-) )
Jamie
nospam at geniegate.com
Mon Sep 4 05:36:28 PDT 2006
I don't know if batch was broken or not, but I couldn't get it to
work on my setup.
I patched it, removed the macros and replaced them with functions
(to make debugging easier) as well as set a mode flag, so that
entering priv_start() twice would return the second time without
doing anything.
It seems to work here now, the files in /var/at/jobs are owned by
the user who submitted them.
C isn't my first language and there is a chance I screwed something
up.. but.. in the event that it's actually useful for anyone..
I put my changes up here:
http://geniegate.com/other/at/
On my install, when I did this:
echo ls | batch
I'd get permission errors in /var/at/jobs (couldn't change the lockfile,
etc..)
It it wasn't broken, I broke it for you. :-)
Jamie
--
http://www.geniegate.com Custom web programming
guhzo_42 at xxxxxxxxx (rot13) User Management Solutions
More information about the Kernel
mailing list