Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6258

Restrict permissions on BACKUP.HISTORY

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0, 10.10.1.1
    • Fix Version/s: 10.10.2.0, 10.11.1.1
    • Component/s: Store
    • Labels:
      None

      Description

      DirFile4.getOutputStream(boolean) does not restrict the file permissions on the file if it ends up creating a new file.

      This method is only used for writing to BACKUP.HISTORY during backup. The BACKUP.HISTORY file in the backup does have restricted file permissions, it is only the file in the original database that is created with less restrictive permissions.

        Attachments

        1. derby-6258-01-a.diff
          4 kB
          Knut Anders Hatlen

          Issue Links

            Activity

              People

              • Assignee:
                knutanders Knut Anders Hatlen
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: