Skip to main content
Participant
January 27, 2009
Question

java.io.FileNotFoundException

  • January 27, 2009
  • 1 reply
  • 2842 views
We seem to have an issue with write permissions. If CFFILE is used from within a standard CF template it writes without any problems. When encapsulated within something such as a custom tag or even used with cfmodule it no longer has permission to write. We are trying to understand what specifically needs to be granted in order for MX to have the permissions it needs for file access using custom tags, components or other methods.

java.io.FileNotFoundException
    This topic has been closed for replies.

    1 reply

    Inspiring
    January 27, 2009
    KN wrote:
    > We are trying to understand what specifically needs to be granted in order for MX to have the permissions it needs for file access
    > using custom tags, components or other methods.


    Normally ColdFusion would. There is nothing special about using
    <cffile...> inside a custom tag, component or any other reusable
    ColdFusion code.

    What environment, Unix or Windows?

    What user is ColdFusion running under?

    Where do these custom tags and components reside in relation to the
    website root?
    KN7136560Author
    Participant
    January 28, 2009
    It's a windows 2003 server in a windows environment. I'm checking with one of my network people to see what we installed it under. I think 2003 server locks everything by default as opposed to older operating systems that left the permissions wide open. I'm having someone check to see if perms can be lifted so CF can access another drive letter. The custom tags are located on one drive and the content on the other.