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 under which CF8 
runs is not the owner of that folder.  Nor is it in the group that has the 
necessary access.  I checked the /etc/init.d folder and didn't see anything for 
CF8 startup.  I'm not very UNIX-savy.  So, please bare with me.  Is there an 
XML file under the Jrun4 install that might contain the user account I'm after?


>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
>
>
> 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:325947
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