Karaf
  1. Karaf
  2. KARAF-798

Support for relocating karaf.history file

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.6, 3.0.0
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      We have a servicemix-based product that has to perform a setuid to a lower-privileged user while running on linux. We've accounted for most permissions-based issues that result from doing this by ensuring that the lower-privileged user has write access to the necessary files under the data directory.

      Unfortunately, we can't do this with karaf.history since it is written to the home directory of the user that started the stack (root in this case). The lower-privileged usually doesn't have any visibility into this directory, let alone write privileges. If a configuration option was provided to specify the location of the karaf.history file (or the option to not even write or expect to find one), then we could treat this file like any other.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Troy Waldrep
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development