Hi, 

At my organization, we've got our first ColdFusion 8 server up and running (on 
a Solaris/Unix box), but we've run into a strange problem.  We chose to test 
the new server by running one of our internal ColdFusion web applications on 
it, and per our normal protocol, we set up a sandbox to restrict the 
datasources and directories that the web application had access to.

Most of the application worked just fine (as expected), but wherever there was 
an instance where a CFM file called a method from a CFC file located in the 
same directory via <cfinvoke>, like so:

<cfinvoke component="localCFC" method="doFoo"...>

....the application would throw the following error:

"access denied (java.io.FilePermission /site/coldfusion/mx/CustomTags read)"

The guy who set up the CF8 Server (I personally don't have access to the 
server) checked the Files/Dirs setting for the sandbox, and it had the 
following directory permission setting:

/site/ColdFusion/mx/- (Read, Execute)

....which SHOULD mean that the site could access any subdirectories of the "mx" 
directory, such as the "CustomTags" directory.  Yet, in order to resolve the 
error, he had to add the following directory permission setting:

/site/ColdFusion/mx/CustomTags/

Once he did that, everything worked fine.

So the question he wants answered before adding more sites/applications to the 
new server is:  why didn't the "/mx/-" permission allow read access to the 
"CustomTags" subdirectory?

Any ideas? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Server/message.cfm/messageid:6523
Subscription: http://www.houseoffusion.com/groups/CF-Server/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.10

Reply via email to