When uploading either a single image or bulk images I get the
following error:
"access denied (java.io.FilePermission D:\home read)" - full trace
below.
I've read through the posts and seen that this has been an issue in
the past, but don't see a solution that applies here - maybe I can't
see the wood for the trees.
My set up is on a shared host. FC5.0.0, CF8, MySQL5, IIS. I have FC
as a standalone configuration. FUs work brilliantly.
Curiously, I can upload a flash file with no issues.
I'm not using CFImage. I tried creating three separate folders under
the image folder for each "SourceImage", etc., but no joy.
My host allows CFDirectory, CFFile, etc and it is turned on.
The host support guys are wondering why FC refers to the full address
- including the "D:\home", which they say FC shouldn't be trying to
access.
Can anybody suggest what the problem and solution might be?
Cheers
Robin
Stack Trace (top few lines):
java.security.AccessControlException: access denied
(java.io.FilePermission D:\home read) at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:
323) at
java.security.AccessController.checkPermission(AccessController.java:
546) at
java.lang.SecurityManager.checkPermission(SecurityManager.java:
532) at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
at java.io.File.isDirectory(File.java:752) at
coldfusion.runtime.CFPage.DirectoryExists(CFPage.java:2816) at
cfimage2ecfc1609137485$funcCREATEFOLDERPATH.runFunction(D:\home
\
mandalainternet.com\wwwroot\farcry\core\packages\formtools\image.cfc:
358) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:
360) at coldfusion.runtime.UDFMethod
$ArgumentCollectionFilter.invoke(UDFMethod.java:324) at
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:
59) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfimage2ecfc1609137485$funcVALIDATE.runFunction(D:\home
\
mandalainternet.com\wwwroot\farcry\core\packages\formtools\image.cfc:
233) at . . .