Converts unix "ls -la" rights into octal one