Show
Ignore:
Timestamp:
1/27/2008 9:26:45 AM (5 months ago)
Author:
dhughes
Message:

Made Reactor generate files and directories on unix that can be read, written and deleted by all.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/reactor/core/objectTranslator.cfc

    r423 r429  
    6565                        <!--- write the file to disk ---> 
    6666                        <cflock type="exclusive" timeout="30"> 
    67                                 <cffile action="write" file="#arguments.outputPath#" output="#code#" /> 
     67                                <cffile action="write" file="#arguments.outputPath#" output="#code#" mode="777" /> 
    6868                        </cflock> 
    6969                </cfif> 
     
    130130                <cfif toString(dictionaryXml) IS NOT toString(initialDictionaryXml)> 
    131131                        <cflock type="exclusive" timeout="30"> 
    132                                 <cffile action="write" file="#arguments.dictionaryXmlPath#" output="#formatXml(dictionaryXml)#" /> 
     132                                <cffile action="write" file="#arguments.dictionaryXmlPath#" output="#formatXml(dictionaryXml)#" mode="777" /> 
    133133                        </cflock> 
    134134                </cfif> 
     
    253253                 
    254254                <cfif NOT DirectoryExists(directory)> 
    255                         <cfdirectory action="create" directory="#getDirectoryFromPath(arguments.path)#" /> 
     255                        <cfdirectory action="create" directory="#getDirectoryFromPath(arguments.path)#" mode="777" /> 
    256256                </cfif> 
    257257        </cffunction>