public String getPrintedPermissions(){
        StringBuilder result = new StringBuilder();
        result.append(isUserRead() ? "r" : "-");
        result.append(isUserWrite() ? "w" : "-");
        result.append(isUserExecute()? "x" : "-");
        result.append(isGroupRead() ? "r" : "-");
        result.append(isGroupWrite() ? "w" : "-");
        result.append(isGroupExecute()? "x" : "-");
        result.append(isOtherRead() ? "r" : "-");
        result.append(isOtherWrite() ? "w" : "-");
        result.append(isOtherExecute()? "x" : "-");        
        return result.toString();
    }