There are upcoming maintenance events which may impact our services. Learn more

Lucee Linux file permissions Print

  • Lucee, CFFile, Linux
  • 1

Linux requires extra commands for handling files with Lucee:

cffile mode=""
When working with cffile you will need to ensure you set the correct permission on the file using the "mode" parameter. For example to allow a file to have full read, write and execute permissions it would be set with: mode="777".
Documentation: https://docs.lucee.org/reference/tags/file.html

FileSetAccessMode()
Updating a file with a new mode (permissions) you can use the function FileSetAccessMode().
Documentation: https://docs.lucee.org/reference/functions/filesetaccessmode.html


Was this answer helpful?

« Back