Steve,

I am presuming your problem is a permissions issue as I'm beginning to see a
pattern with cf on linux where non-logged errors i.e. nothing happening and
no errors being returned, is caused by permissions. Might be useful if MM
could trap these errors and return at least a generic error message to help
us identify the problem.

As a quick test to verify my theory you should chown the directory to belong
to the coldfusion user, which is also the apache user by default.

HTH,
Dave

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 22:45
To: CF-Linux
Subject: Re: cf5 & linux newbie


The errors of concern are that there is no recognition of
cffile or cfdirectory tags (or cfmail but i think thats another problem)
everything else seems to be ok

all of our hosted sites have their ownership changed to "hosted" which is
controlled by apache.

both cffile & cfdirectory are enabled via the cfadministrator, yet even when
a test tag is run
        <cffile action="WRITE"
            file="test.txt"
            output="blah blah"
            attributes="Normal"
            mode="666"
            addnewline="Yes">
or
        <cfdirectory action="CREATE"
             directory="test"
             mode="666">
nothing happens, no error - just nothing.

the error comes when you check the existance of the file or the directory
(and its not there)

[how do i]
Check the user coldfusion is running as and make sure it has access to the
said files and directories.?
(sorry the lights arent switched on for the linux part of my brain yet)

Can anyone shed some light on this?

Steve

----- Original Message -----
From: "Toby Tremayne" <[EMAIL PROTECTED]>
To: "CF-Linux" <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 6:29 PM
Subject: Re: cf5 & linux newbie


> Hi Steve, what are the errors you're getting?  Things to check are
> that the relevant files and directories have the correct owners and
> permissions.
>
> Check the user coldfusion is running as and make sure it has access to
> the said files and directories.
>
> Toby
>
>  ---------------------------------------
>
>    Life is poetry - write it in your own words.
>
>  ---------------------------------------
>
> Toby Tremayne
> Senior Technical Consultant
> Code Poet and Zen Master of the Heavy Sleep
> Lyricist Software
> www.lyricist.com.au
> 0416 048 090
> ICQ:  13107913
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
                                

Reply via email to