Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25779

Confluence upgrade process should not chown/chmod hidden folders

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      The .bin upgrader executes the following commands on the Confluence home area as part of it's upgrade process:

      chown -R "$username" "$1"
      chmod -R og-rwx "$1"
      

      Our home area has a hidden ".snapshot" subdirectory which contains weeks of snapshots which explodes the amount of time it takes to run the upgrade process.

      Some solutions:
      1.

      chown "$username" "$1"
      chown -R "$username" "$1"/*
      chmod go-rwx "$1"
      chmod -R og-rwx "$1"/*
      

      2.
      Use find with -prune to exclude certain directories supplied by the user prior to the upgrade.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              229c130f404c WSST
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: