UNIX permission converter
npm install ugofornode
- toOctal from Symbolic notation to Octal notation - toSymbolic from Octal notation to Symbolic notation - getPermissionByClass return the Symbolic notation for a class (User, Group, Other) - isSymbolicValid check Symbolic notation validity - isOctalValid check the Octal notation validity
var UGOforNODE =ugo = ;// Get Octal notation from Arraypermission1 = ugo
UGOforNODE was created as part of a custom node development initiative sponsored by Bureaucloud (http://bureaucloud.com) & Bluedge(http://bluedge.co.uk) for a private application. This simple and lean module quickly became so convenient for addressing permissions, we decided to share it with others.