Re: Setting Linux user

2007-01-18 Thread Tom Chiverton
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

Setting Linux user

2007-01-17 Thread K Fassman
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

RE: Setting Linux user

2007-01-17 Thread Dave Watts
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

Re: Setting Linux user

2007-01-17 Thread Jordan Michaels
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

Re: Setting Linux user

2007-01-17 Thread Jochem van Dieten
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 write a

Re: Setting Linux user

2007-01-17 Thread Ken Fassman
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't give

RE: Setting Linux user

2007-01-17 Thread Dave Watts
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 shell script

Re: Setting Linux user

2007-01-17 Thread Eric Haskins
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 could

Re: Setting Linux user

2007-01-17 Thread Rob Wilkerson
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

RE: Setting Linux user

2007-01-17 Thread Dave Watts
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 the

Re: Setting Linux user

2007-01-17 Thread Eric Haskins
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 a

RE: Setting Linux user

2007-01-17 Thread Eric Roberts
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 Failing that, you

Re: Setting Linux user

2007-01-17 Thread Eric Haskins
: 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 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

RE: Setting Linux user

2007-01-17 Thread Eric Roberts
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

RE: Setting Linux user

2007-01-17 Thread Eric Roberts
To: CF-Talk 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 Systems

Re: Setting Linux user

2007-01-17 Thread Eric Haskins
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 Eric, I haven't used Subversion in awhile we currently use Serena VM with Eclipse Rich

RE: Setting Linux user

2007-01-17 Thread Eric Roberts
-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 the linux

Re: Setting Linux user

2007-01-17 Thread Eric Haskins
, 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 the linux servers we brought in were due to me. I hope to be rid of all Outside serving IIS