Skip to main content
June 6, 2008
Question

CFFile Upload folder permissions

  • June 6, 2008
  • 1 reply
  • 451 views
I keep running into issues with CFFile type=upload and my folder permissions, and I'm wondering what the minimum permissions I have to set on a folder (on a linux server) would be. I don't want to give it full 777, since that's pretty insecure, but I need to use the CFFile tag.

Also, it seems like CFFile doesn't throw any exceptions or errors when there's improper folder permissions, the only way to verify that it didn't upload is to check the cffile.fileWasSaved value, which may be for multiple reasons other than folder permissions. Is there any other form of diagnosis on failed CFFile uploads or am I dead in the water to try to find out why it stops working when it breaks.
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 6, 2008
    Try to figure out if CF App Server is running on an user-account that has the rights/privileges required to write files on the particular folder.

    Sam