Re: Determining CF8's UNIX Account

2009-09-06 Thread Brad Wood
Robert, can you tell us if you had any luck changing the groups around like I suggested? Thanks! ~Brad ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists

Re: Determining CF8's UNIX Account

2009-09-03 Thread Robert Nurse
Ok, we start CF manually with the command: ./jrun -nohup -start -childVM foo ps -ef reports (under foo login): foo ... ./jrun -nohup -start -childVM foo (here, foo is the name of the service) Notice that there is a user account named foo. Logging in as foo, the groups

RE: Determining CF8's UNIX Account

2009-09-03 Thread brad
primary group. For example, ownership of files accounting data reflect the primary group, not any secondary groups. ~Brad Original Message Subject: Re: Determining CF8's UNIX Account From: Robert Nurse rnu...@gmail.com Date: Thu, September 03, 2009 8:09 am To: cf-talk cf

Determining CF8's UNIX Account

2009-09-02 Thread Robert Nurse
Hi All, Does anyone know how to determine the UNIX account under which CF8 is running? We're using CFFILE to upload files to the server. The code runs fine on the test server (of course). But, not production. I placed a cfabort right after the cffile action=upload... command so I could

Re: Determining CF8's UNIX Account

2009-09-02 Thread Leigh
Does anyone know how to determine the UNIX account under which CF8 is running? I have only done it for windows. But you might check the system properties and environment variables. http://java.sun.com/docs/books/tutorial/essential/environment/env.html

RE: Determining CF8's UNIX Account

2009-09-02 Thread brad
in the bash script is the user that the CF service is run as. ~Brad Original Message Subject: Determining CF8's UNIX Account From: Robert Nurse rnu...@gmail.com Date: Wed, September 02, 2009 12:52 pm To: cf-talk cf-talk@houseoffusion.com Hi All, Does anyone know how

Re: Determining CF8's UNIX Account

2009-09-02 Thread Rick Root
This doesn't answer your question, but don't just abort, cfdump var=#cffile# too Rick -- Rick Root CFFM - Open Source Coldfusion File Manager http://www.opensourcecf.com/cffm ~| Want to reach the ColdFusion community with

Re: Determining CF8's UNIX Account

2009-09-02 Thread Robert Nurse
I thought the same thing about an exception being thrown. I tried a little experiment. One of the folders the application can write to has 777 access. The one having the problem has 775 access. When I attempted to upload to the former, there was no problem. That tells me that the account

Re: Determining CF8's UNIX Account

2009-09-02 Thread Robert Nurse
Oh, I checked what CFFILE reported. It said the file was not saved. This doesn't answer your question, but don't just abort, cfdump var=#cffile# too Rick -- Rick Root CFFM - Open Source Coldfusion File Manager http://www.opensourcecf.com/cffm

RE: Determining CF8's UNIX Account

2009-09-02 Thread brad
I checked the /etc/init.d folder and didn't see anything for CF8 startup. My server is Open SuSE. Starup scripts can vary from distro to disrto. Just use the PS command and look for the CF process. That will tell you how it is running under. Did you install CF on this server? I believe

Re: Determining CF8's UNIX Account

2009-09-02 Thread Andy Allan
How are you starting CF on your server? Are you using using the supplied startup scripts (multiserver startup script has a bug in it) or are you starting it manually? If you're starting it using the script, then the user is specified in the script. If you start it manually, e.g. ./jrun -start

Re: Determining CF8's UNIX Account

2009-09-02 Thread Robert Nurse
We're running CF under SunOS. I'd have to check tomorrow to see if there is a start-up script. But, we've been starting it manually. I understand about permissions and umask and all somewhat. That's why I assumed it was some kind of permissions issue. One question though. The user

Re: Determining CF8's UNIX Account

2009-09-02 Thread Maureen Barger
You said you are running CF under jRun - have you implemented sandbox security as well? If so you may have to check permissions for that directory. If you have been starting it manually, ensure you are starting it under the correct user. Have you grepped for the process yet? (Someone already

Re: Determining CF8's UNIX Account

2009-09-02 Thread Maureen Barger
Yup, that's your issue. Either chmod -R 777 on the dir where you want to save files (maybe not so good) or change that line to RUNTIME_USER=foo and you should be on your way! If you do change the RUNTIME_USER ensure your other dirs have correct permissions too or you will have bigger problems!

Re: Determining CF8's UNIX Account

2009-09-02 Thread Rick Root
I am running Coldfusion 7 Standard under CentOS Linux This line is in /etc/init.d/coldfusionmx7 RUNTIME_USER=nobody Rick ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

RE: Determining CF8's UNIX Account

2009-09-02 Thread brad
directory if there is no exception being thrown. ~Brad Original Message Subject: Re: Determining CF8's UNIX Account From: Maureen Barger m...@cornell.edu Date: Wed, September 02, 2009 7:17 pm To: cf-talk cf-talk@houseoffusion.com Yup, that's your issue. Either chmod -R 777