I had an issue with file uploads that was caused by the directories and
files being read only.


On Tue, Aug 19, 2008 at 12:32 PM, Robin <[EMAIL PROTECTED]> wrote:

>
> I realize that this has cropped up several times before, but 'im still
> stumped and a little frustrated at being so close tto getting this up
> and running. I'd appreciate  insights for anybody.
>
> My set up is on a shared host. FC5.0.0, CF8, MySQL5, IIS. I have FC
> as a standalone configuration. FUs work brilliantly.
>
> However, when i try to upload a file, single or bulk, I get the same
> error
>
> "access denied (java.io.FilePermission D:\home read)" - full trace
> below.
>
> 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 is?
>
> Cheers
>
> Robin Brown
>
> 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 . . .
>
>
>
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to