Yup just noticed that the file gets uploaded but it's the reading from the
temp directory that's causing error...so cffile must be enabled...

-----Original Message-----
From: Robin Griffiths [mailto:[EMAIL PROTECTED] 
Sent: 06 November 2003 11:01
To: [EMAIL PROTECTED]
Subject: Re: [ cf-dev ] java.io.FilePermission


Just noted, it's a Windows box - d'oh!  should get more sleep - sorry!
  ----- Original Message ----- 
  From: Robin Griffiths 
  To: [EMAIL PROTECTED] 
  Sent: Thursday, November 06, 2003 10:55 AM
  Subject: Re: [ cf-dev ] java.io.FilePermission


  Looks like something odd with the *nix file permissions as you can write
but not read!  Are you specifying the mode attribute in the CFFILE tag?  May
be worth setting it to 777 to see if it works before trimming it back to a
more reasonable setting.

    ----- Original Message ----- 
    From: Sandeep Shetty 
    To: '[EMAIL PROTECTED]' 
    Sent: Thursday, November 06, 2003 10:43 AM
    Subject: [ cf-dev ] java.io.FilePermission


    Hi,
    We are in the process of transferring our website to a hosting cfmx
company
    and when testing our site on their server we are getting errors when
    uploading files using cffile,

    Uploading files gives the following error

    Security: The requested template has been denied access to
 
C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\neotmp27447
    .tmp.  
    The following is the internal exception message: access denied
    (java.io.FilePermission
 
C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp\neotmp27447
    .tmp read)  
      
    ColdFusion cannot determine the line of the template that caused this
error.
    This is often caused by an error in the exception handling subsystem.  

    Having looked at various forums, I have suggested looking at the
permissions
    that they has given for this folder in Coldfusion Administrator if
resource
    security is enabled but no definite solution.

    I would be grateful if someone knows how to fix this error

    Any help/advice appreciated.


    Thanks in advance,
    Sandeep





    -- 
    ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

    To unsubscribe, e-mail: [EMAIL PROTECTED]
    For additional commands, e-mail: [EMAIL PROTECTED]
    For human help, e-mail: [EMAIL PROTECTED]


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to