fileModeToSymbolic

Converts a numeric file mode, such as 755, to its symbolic form, such as rwxr-xr-x.

fileModeToSymbolic(mode) → returns string

This function requires Lucee 7.0.0.155 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

mode string
Required

A three-digit file mode. The digits are the owner, group and other permissions.

Examples
Sample code invoking the fileModeToSymbolic function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub