Why is umask a $perms AND NOT $mask and not simply $perms AND $mask instead?
In other words why is there a NOT in there; why doesn't wasn't it implemented as an and mask?
As an example, 666 and 700, to give 600?
I would like to let users view opennms data without logging in. That is, the whole ui in read only mode.
I realise that I can create a guest user for this, but people then need too know the username and password for this user.