@Override
  public boolean equals(Object other) {
    if (this == other) {
      return true;
    }
    if (!(other instanceof FilePermissions)) {
      return false;
    }
    FilePermissions otherFilePermissions = (FilePermissions) other;
    return permissionBits == otherFilePermissions.permissionBits;
  }
Gets the octal string representation of the permissions.

@return the octal string representation of the permissions
jib-build-plan/src/main/java/com/google/cloud/tools/jib/api/buildplan/FilePermissions.java