I often run into permission problems with user crontabs. That is, a
crontab run under a user's permissions.
First of all, it seems to me that a user's crontab doesn't have
exactly the same permission as the user himself. Is this true?
If so, what permissions does a user's crontab have?
Is
In response to John Almberg <[EMAIL PROTECTED]>:
> I often run into permission problems with user crontabs. That is, a
> crontab run under a user's permissions.
>
> First of all, it seems to me that a user's crontab doesn't have
> exactly the same permission as the user himself. Is this true?
I'm guessing you're having problems with environment settings,
although
the vagaries of the question don't give me much to go on (something
along the lines of, "when I try to do x in cron, I get the error y;
but it works fine when the user runs it outside of cron" would be more
informative.)
On Jul 16, 2008, at 10:03 PM, John Almberg wrote:
I'm guessing you're having problems with environment settings,
although
the vagaries of the question don't give me much to go on (something
along the lines of, "when I try to do x in cron, I get the error y;
but it works fine when the user r
> Date: Wed, 16 Jul 2008 11:26:19 -0400
> From: John Almberg <[EMAIL PROTECTED]>
> I often run into permission problems with user crontabs. That is, a
> crontab run under a user's permissions.
> First of all, it seems to me that a user's crontab doesn't have
> exactly the same permission as the
John, it is not a permissions issue, but rather a path issue.
Do as the other poster suggested and run a cron job to dump the
environment and you will see that the PATH inside a cron job is very
rudimentary. Either add what you need to it in the crontab or cron
job, or always use absolute paths
>> On Thu, 17 Jul 2008 09:27:51 +0200,
>> "DA Forsyth" <[EMAIL PROTECTED]> said:
D> John, it is not a permissions issue, but rather a path issue. Do as the
D> other poster suggested and run a cron job to dump the environment and you
D> will see that the PATH inside a cron job is very rudimentary
I use templates for most of the things I write, so I don't end
up making
the same stupid off-by-one mistakes for things like handling
command-line
arguments. My template for a production shell script is below.
You raise a lot of interesting ideas Karl. I too am always looking t
> Actually, I highly recommend a Mac program called Yojimbo, that is a
> kind of general purpose memory tool. You can throw all sorts of
> information into it, and find it very easily when you need it.
> Fantastic program and I don't know of anything like it on other
> platforms.
If you're looking