If permissions were denied, an exception should have been thrown.  Run
the ps command to find the ColdFusion process and see who its owner is:
ps -A -F | grep cfmx7   (replece "cfmx7" with whatever the process name
is on your server/version)

Also, the startup script that starts ColdFusion
(/etc/init.d/coldfusionmx7 on my CF7 server) will have a line in it like
so at the top:
RUNTIME_USER=""nobody""
and it uses that variable below in an SU command to actually start the
service:
CFSTART='su -s /bin/sh $RUNTIME_USER -c "export
PATH=$PATH:$CF_DIR/runtime/bin; etc ...

The value RUNTIME_USER var 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 <[email protected]>
 Date: Wed, September 02, 2009 12:52 pm
 To: cf-talk <[email protected]>
 
 
 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
check the file system to make sure the file was actually being uploaded.
But, it's not: cffile.filesaved is NO. This sounds like some kind of
permissions problem. I have an idea what the account name is. But, I
need to verify it. 
 
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to