FreeRADIUS InkBridge

mkdir

The file.mkdir function creates directories and subdirectories. If the directory exists or was created successfully, it returns true. Otherwise if it could not be created, it returns false.

Syntax

%file.mkdir(string)

Example 1. Create a directory
%file.mkdir("/var/log/radius/auth")

File access restriction

Files accessed in this function are restricted by the limit files section in the main security configuration. If present in radiusd.conf, only files in the paths listed can be accessed.