I am new to running CF on a Linux box - and I know virtually nothing about
Linux.
I have all of my pages working correctly, but in one instance I am calling on
the CFFILE command to move a CSV file from one directory to another. The file
is getting copied to the new location, but not deleted f
> I am new to running CF on a Linux box - and I know virtually
> nothing about Linux.
>
> I have all of my pages working correctly, but in one instance
> I am calling on the CFFILE command to move a CSV file from
> one directory to another. The file is getting copied to the
> new location, bu
Hello K,
Unfortunately this is one of the problems with CF: There's no
command-line parser for it so you cannot execute it as a different user
easily.
While I probably can't give the best advice without knowing the details
of your situation, you could potentially create a cron job (the Linux
equi
Dave Watts wrote:
>
> Failing that, you could conceivably write a shell script to do what you
> need, and call that through CFEXECUTE.
Anything you call using cfexecute will run as the same user CF runs under, i.e.
the user "apache" so that won't help. What you need to do is have the admin
writ
That might be a good option. Thanks for both replies!
On 1/17/07, Jordan Michaels <[EMAIL PROTECTED]> wrote:
>
> Hello K,
>
> Unfortunately this is one of the problems with CF: There's no
> command-line parser for it so you cannot execute it as a different user
> easily.
>
> While I probably can'
> > Failing that, you could conceivably write a shell script to do what
> > you need, and call that through CFEXECUTE.
>
> Anything you call using cfexecute will run as the same user
> CF runs under, i.e. the user "apache" so that won't help.
> What you need to do is have the admin write a shel
You can also set permissions on the folder to 777 or change ownership of the
folder to the same user CF/Apache runs as.
That would allow it to function as is no additional Cron job
Eric Haskins
Web Systems Developer
On 1/17/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > > Failing that, you cou
As a general rule, I do what Eric suggests. I run CF and Apache under
the same user (usually apache) and then make that user the owner of my
web root with perms set to 755. Just a practice that I've found works
for me.
On 1/17/07, Eric Haskins <[EMAIL PROTECTED]> wrote:
> You can also set permis
> As a general rule, I do what Eric suggests. I run CF and
> Apache under the same user (usually apache) and then make
> that user the owner of my web root with perms set to 755.
> Just a practice that I've found works for me.
The users used by Apache and CF shouldn't be able to change all th
If you were worried about that you could just give the write permissions on
the destination directory only. I never give webuser permission to the whole
webroot only the directory it needs to write to.
Eric Haskins
Web System Developer
On 1/17/07, Dave Watts <[EMAIL PROTECTED]> wrote:
>
> > As
don't have set up on our
dev box. Right now I can just ssh in and do the update, but I would much
rather automate the process.
Eric
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 January 2007 12:03
To: CF-Talk
Subject: RE: Setting Linux user
> &
PROTECTED]
> Sent: Wednesday, 17 January 2007 12:03
> To: CF-Talk
> Subject: RE: Setting Linux user
>
> > > Failing that, you could conceivably write a shell script to do what
> > > you need, and call that through CFEXECUTE.
> >
> > Anything you call usin
You can also set group permissions and make the CF/apache user part of that
group.
Eric
-Original Message-
From: Eric Haskins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 January 2007 12:48
To: CF-Talk
Subject: Re: Setting Linux user
You can also set permissions on the folder to 777
alk
Subject: Re: Setting Linux user
Eric,
I haven't used Subversion in awhile we currently use Serena VM with
Eclipse Rich Integration. If you send the commands you do to update and how
they comit I could write you script. I hate windows :) but need it to
function
Eric Haskins
Web Syst
It took me 4 weeks and several reinstalls to get it
> right,
> hence my mantra hehehe
>
> Eric
>
> -Original Message-
> From: Eric Haskins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 17 January 2007 15:50
> To: CF-Talk
> Subject: Re: Setting Linux user
>
day.
Eric
-Original Message-
From: Eric Haskins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 January 2007 19:47
To: CF-Talk
Subject: Re: Setting Linux user
Eric,
Can you tell me what command the Developers use to commit changes??
Where I work I am surrounded by Windows stuff all of
day.
>
> Eric
>
> -Original Message-
> From: Eric Haskins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 17 January 2007 19:47
> To: CF-Talk
> Subject: Re: Setting Linux user
>
> Eric,
>
> Can you tell me what command the Developers use to commit changes
On Wednesday 17 January 2007 17:41, Dave Watts wrote:
> Failing that, you could conceivably write a shell script to do what you
> need, and call that through CFEXECUTE. That's an ugly approach in my
> opinion, though.
And have it sudo the copy, for instance.
--
Tom Chiverton
Helping to administr
18 matches
Mail list logo