ftpd::Session method file format permissions (protected)
<instance of ftpd::Session> file format permissions type mode
Defined in
- Parameters:
- type (required)
- mode (required)
- Testcases:
-
No testcase defined.
Source code:
if {$type eq "file"} {
set permissions "-"
} else {
set permissions [string index $type 0]
}
foreach j [split [format %03o [expr {$mode & 0777}]] {}] {
append permissions [dict get ${:permission_bits} $j]
}
return $permissions
XQL Not present:Generic, PostgreSQL, Oracle
[
hide source ]
| [
make this the default ]