- :null
- :dictionary
permissions
check permissions of given file
Parameters
permissions file :string
Attributes
set | :dictionary | set using given file permissions |
Returns
Examples
copyinspect permissions "bin/arturo" ; [ :dictionary ; user : [ :dictionary ; read : true :boolean ; write : true :boolean ; execute : true :boolean ; ] ; group : [ :dictionary ; read : true :boolean ; write : false :boolean ; execute : true :boolean ; ] ; others : [ :dictionary ; read : true :boolean ; write : false :boolean ; execute : true :boolean ; ] ; ]
copypermissions.set:#[others:#[write:true]] "bin/arturo" ; gave write permission to 'others'