Mwnci oct2sym() Function

Syntax

oct2sym(string|number)

Description

The oct2sym() function returns symbolic notation of file permissions for the given octal number.

a=oct2sym(1775)
println("Permissions=", a)
a=oct2sym("1775")
println("Permissions=", a)


Permissions=rwxrwxr-t
Permissions=rwxrwxr-t