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 ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com ------------------------------------------------------------------------------ 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.
