Make sure your CF user that runs the cf server is in the gropu that your
webserver is in because you need to have permissions for CF server &
webserver so make perms 770

770=USER FULL/GROUP FULL/ELSE NONE

Bill Wheatley
Senior Database Developer
Macromedia Certified Advanced Coldfusion Developer
EDIETS.COM
954.360.9022 X159
ICQ 417645
----- Original Message -----
From: "Brian Panulla" <[EMAIL PROTECTED]>
To: "CF-Linux" <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 12:07 PM
Subject: Directory permissions for file UL/DL on Linux


> Has anyone implemented a File Library (using CFFILE to upload, CFCONTENT
to
> serve) using CF on Linux? I have an existing app built (and working
> properly) on Windows that I'm trying to deploy on a RedHat 7.2 Linux box
> (CF5, Apache). I can't get the permissions on the directory and files to
be
> something that I'm happy with.
>
> I store uploaded files in a directory off the site's Web root and control
> access to them with the CF app. My file library directory is owned by the
> coldfusion user (mode 700).
>
> I thought these permissions would be appropriate to keep casual users out
> of the file library, but for some reason, the CFCONTENT tag throws a Unix
> Error 13 (file operation not permitted, basically) until I change the File
> lib directory mode to be readable by the Apache user.
>
> Why would the CF server be able to write to that directory, but not be
able
> to read files from it using CFCONTENT? Is the CFContent tag somehow
passing
> just a file reference to Apache and saying "Here... give 'em this file"
> rather than loading the file into memory and passing the file *contents*
back?
>
> I'm stumped. Any ideas?
>
> -B
>
>
>
>
>
> _____
> Brian Panulla                           [EMAIL PROTECTED]
> Chief Information Officer               814.238.6680
> Elmwood Media Group                     www.elmwoodmedia.com
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-linux%40houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_linux or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to